Home  >  Article  >  Development Tools  >  How to debug ajax in vscode

How to debug ajax in vscode

藏色散人
藏色散人Original
2020-01-14 10:11:374664browse

How to debug ajax in vscode

How to debug ajax in vscode?

VS debugging Ajax:

1.ashx sets breakpoints in the background handler

2.Trigger AJAX

3.F12 Open browser debugging, search to find the JS called by ajax, set breakpoints, single-step debugging in the browser, it will automatically enter the background processing program, and then you can debug the background code

Recommended tutorial: vscode tutorial

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

Statement:
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