The solution that the breakpoint of vscode can not be added.
This article is about solutions that can't be added to vscode breakpoints. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
The solution that the breakpoint of vscode can not be added.
1Jing vs CODE installs the extended Debugger for Chrome.
2. Open launch.json and add configuration to the array of configurations:
{"type": "chrome", "request": "launch", "name": "debugging with Chrome", "url": "http://localhost:4200"," webRoot ":" ${workspaceRoot} "," sourceMaps ": true}
3, back to the code, the mouse on the left side of the VS CODE to do will find a small dark red dot, where you want to debug, where to light this little red dot.
Recommended for related articles and tutorials: vscode tutorial
4. After lighting the breakpoint in the related business, press F5 to automatically open the chrome browser and access the related business to enter the breakpoint.
Thank you for reading! This is the end of this article on "solutions not added to vscode breakpoints". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!