-
Notifications
You must be signed in to change notification settings - Fork 0
/
Web.Debug.config
35 lines (28 loc) · 1.4 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>
<iisnode loggingEnabled="true"
devErrorsEnabled="true"
interceptor="--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/1e8eca2b-61ff-4d44-8d2a-45821bb48eaf" 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>