I feel like this should be documented somewhere. Since the switch to ES imports, I haven't found a good example to start VSCode on a web page, but I figured it out. This is the rest of the answer to ...
I made this simple project to reproduce. in index.js , just two lines of code, and a breakpoint in line 2 : and this is my project.json with a 'debug' task: my launch.json: press f5 to start debugging ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果