-
Notifications
You must be signed in to change notification settings - Fork 0
/
Web.Debug.config
39 lines (32 loc) · 1.61 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
36
37
38
39
<?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/3c047eb5-5d1d-44ca-b490-64c5a60a1ba9" 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>