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!