But it doesn't work as expected. After I set a red breakpoint at line 40 in HelloWorld.vue and click the green play button in the Debug view, the Debugger doesn't stop at the breakpoint and the breakpoint turns to a gray circle. It's said that this breakpoint is unverified.
I gooooogled a lot...Finally... when I change the sourceMapPathOverrides field in launch.json as follows, the Debugger works.
I create a new project by Vue Cli, and then set the
launch.json
in VS Code as stated in the Vue.js Cookbook:But it doesn't work as expected. After I set a red breakpoint at line 40 in
HelloWorld.vue
and click the green play button in the Debug view, the Debugger doesn't stop at the breakpoint and the breakpoint turns to a gray circle. It's said that this breakpoint is unverified.I gooooogled a lot...Finally... when I change the
sourceMapPathOverrides
field inlaunch.json
as follows, the Debugger works.'./'
beforesrc
is removed.The config seems to be wrong.