Home Development Tools VSCode How to debug asp with vscode

How to debug asp with vscode

Apr 15, 2020 pm 02:53 PM
asp vscode

How to debug asp with vscode

1. Install the "IIS Express" extension. If successful, you will be prompted to help you install the "IIS Express" program;

2. Open the "IIS Express" program "applicationhost.config" file, the path is: C:\Users\{{username}}\Documents\IISExpress\config;

3. Find the following content and set the default homepage

<defaultDocument enabled="true">
<files>
<add value="index.asp" />
<add value="Default.htm" />
<add value="index.htm" />
<add value="index.html" />
<add value="iisstart.htm" />
<add value="default.aspx" />
</files>
</defaultDocument>
Copy after login

4. Find the following content and enable directory browsing

<directoryBrowse enabled="false" />
Copy after login

5. In the "<system.webServer>" node, add the following red code to enable the parent path

&lt;asp enableParentPaths=”true” scriptErrorSentToBrowser=”true”&gt;
&lt;cache diskTemplateCacheDirectory=”” /&gt;
&lt;limits /&gt;
&lt;/asp&gt;
Copy after login

6. Basic settings When finished, press "Ctrl Shift P" and enter "IIS Express: Start Website" to run and debug.

Recommended tutorial: vscode tutorial

The above is the detailed content of How to debug asp with vscode. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to view word documents in vscode How to view word documents in vscode How to view word documents in vscode How to view word documents in vscode May 09, 2024 am 09:37 AM

How to view word documents in vscode How to view word documents in vscode

How to draw a flow chart with vscode_How to draw a flow chart with visual_studio code How to draw a flow chart with vscode_How to draw a flow chart with visual_studio code Apr 23, 2024 pm 02:13 PM

How to draw a flow chart with vscode_How to draw a flow chart with visual_studio code

How to write Maude in Vscode_How to write Maude in Vscode How to write Maude in Vscode_How to write Maude in Vscode Apr 23, 2024 am 10:25 AM

How to write Maude in Vscode_How to write Maude in Vscode

Caltech Chinese use AI to subvert mathematical proofs! Speed ​​up 5 times shocked Tao Zhexuan, 80% of mathematical steps are fully automated Caltech Chinese use AI to subvert mathematical proofs! Speed ​​up 5 times shocked Tao Zhexuan, 80% of mathematical steps are fully automated Apr 23, 2024 pm 03:01 PM

Caltech Chinese use AI to subvert mathematical proofs! Speed ​​up 5 times shocked Tao Zhexuan, 80% of mathematical steps are fully automated

How to enable background updates in vscode How to enable background updates in vscode How to enable background updates in vscode How to enable background updates in vscode May 09, 2024 am 09:52 AM

How to enable background updates in vscode How to enable background updates in vscode

How to add files to vscode workspace How to add files to vscode workspace How to add files to vscode workspace How to add files to vscode workspace May 09, 2024 am 09:43 AM

How to add files to vscode workspace How to add files to vscode workspace

How to set animation smooth insertion in VScode VScode tutorial to set animation smooth insertion How to set animation smooth insertion in VScode VScode tutorial to set animation smooth insertion May 09, 2024 am 09:49 AM

How to set animation smooth insertion in VScode VScode tutorial to set animation smooth insertion

How to disable wsl configuration file in vscode How to disable wsl configuration file in vscode How to disable wsl configuration file in vscode How to disable wsl configuration file in vscode May 09, 2024 am 10:30 AM

How to disable wsl configuration file in vscode How to disable wsl configuration file in vscode

See all articles