-
Notifications
You must be signed in to change notification settings - Fork 0
/
Web.Debug.config
35 lines (32 loc) · 1.51 KB
/
Web.Debug.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?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/8c0f6bf0-676f-4e49-a97f-9570c5c954a7" 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>