node.js - Unable to bring node inspector to debug express/nodejs app hosted on IIS -
i have hosted express/nodejs app on iis using iisnode.
this how web.config
looks:
<configuration> <appsettings> <add key="node_env" value="production" /> </appsettings> <system.webserver> <!-- indicates hello.js file node.js application handled iisnode module --> <handlers> <add name="iisnode" path="server/app.js" verb="*" modules="iisnode" /> </handlers> <iisnode loggingenabled="false" debuggingenabled="true" debuggerpathsegment="debug" /> <rewrite> <rules> <clear /> <rule name="debug" patternsyntax="wildcard" stopprocessing="true"> <match url="server/app.js/debug*" /> <conditions logicalgrouping="matchall" trackallcaptures="false" /> <action type="none" /> </rule> <rule name="app" patternsyntax="wildcard"> <match url="*" negate="false" /> <conditions logicalgrouping="matchall" trackallcaptures="false" /> <action type="rewrite" url="server/app.js" /> </rule> </rules> </rewrite> <directorybrowse enabled="true" /> </system.webserver> </configuration>
when enter http://localhost:6050/server/app.js/debug/
url in chrome, see panel this:
Comments
Post a Comment