Created
January 24, 2019 07:48
-
-
Save sanudatta11/226c4d5f31b293a3899c108ec6c05e3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- This file will modify Web.config to enable remote debugging when publishing your project in the Debug configuration. | |
For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> | |
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
<system.web xdt:Transform="Insert"> | |
<httpRuntime targetFramework="4.5" /> | |
<customErrors mode="Off"/> | |
</system.web> | |
<system.webServer> | |
<!-- mimeMap enables IIS to serve particular file types as specified by fileExtension. --> | |
<staticContent> | |
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> | |
</staticContent> | |
<iisnode loggingEnabled="true" | |
devErrorsEnabled="true" | |
nodeProcessCommandLine="node.exe --debug" | |
xdt:Transform="SetAttributes" /> | |
<handlers> | |
<!-- The GUID in the following path is meant to protect the debugging endpoint against inadvertent access, and should be treated as a password. --> | |
<add name="NtvsDebugProxy" path="ntvs-debug-proxy/59ea9a82-a297-477d-86ba-dfc8c5f4801e" verb="*" resourceType="Unspecified" | |
type="Microsoft.NodejsTools.Debugger.WebSocketProxy, Microsoft.NodejsTools.WebRole" | |
xdt:Transform="Insert" /> | |
</handlers> | |
<rewrite> | |
<rules> | |
<rule name="NtvsDebugProxy" enabled="true" stopProcessing="true" xdt:Transform="InsertAfter(/configuration/system.webServer/rewrite/rules/clear)"> | |
<match url="^ntvs-debug-proxy/.*"/> | |
</rule> | |
</rules> | |
</rewrite> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment