Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Web.Debug.config 1.6 KB

You have to be logged in to leave a comment. Sign In
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
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- This file will modify Web.config to enable remote debugging when publishing your project in the Debug configuration.
  3. For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
  4. <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  5. <system.web xdt:Transform="Insert">
  6. <httpRuntime targetFramework="4.5" />
  7. <customErrors mode="Off"/>
  8. </system.web>
  9. <system.webServer>
  10. <!-- mimeMap enables IIS to serve particular file types as specified by fileExtension. -->
  11. <staticContent>
  12. <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
  13. </staticContent>
  14. <iisnode loggingEnabled="true"
  15. devErrorsEnabled="true"
  16. nodeProcessCommandLine="node.exe"
  17. xdt:Transform="SetAttributes" />
  18. <handlers>
  19. <!-- The GUID in the following path is meant to protect the debugging endpoint against inadvertent access, and should be treated as a password. -->
  20. <add name="NtvsDebugProxy" path="ntvs-debug-proxy/ffc2b237-305a-4620-a8c8-d4f4b71f80f0" verb="*" resourceType="Unspecified"
  21. type="Microsoft.NodejsTools.Debugger.WebSocketProxy, Microsoft.NodejsTools.WebRole"
  22. xdt:Transform="Insert" />
  23. </handlers>
  24. <rewrite>
  25. <rules>
  26. <rule name="NtvsDebugProxy" enabled="true" stopProcessing="true" xdt:Transform="InsertAfter(/configuration/system.webServer/rewrite/rules/clear)">
  27. <match url="^ntvs-debug-proxy/.*"/>
  28. </rule>
  29. </rules>
  30. </rewrite>
  31. </system.webServer>
  32. </configuration>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...