Home > Development Tools > VSCode > body text

How to debug asp with vscode

王林
Release: 2020-04-15 14:53:29
Original
6637 people have browsed it

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 "" node, add the following red code to enable the parent path

<asp enableParentPaths=”true” scriptErrorSentToBrowser=”true”>
<cache diskTemplateCacheDirectory=”” />
<limits />
</asp>
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!

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!