Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/v2/cookbook/debugging-in-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ Click on the Debugging icon in the Activity Bar to bring up the Debug view, then
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
"webpack:///src/*": "${webRoot}/*",
// If the breakpoint of JS file or Vue file cannot be set, the corresponding wildcard can be configured according to the file in 'webpack://' in the sources column under devtools of chrome. Examples are as follows
// "webpack:///./src/*.js": "${webRoot}/*.js",
// "webpack:///src/*.vue": "${webRoot}/*.vue"
}
},
{
Expand Down