feat: added VSCode Windows debugging entry
This commit is contained in:
Vendored
+14
@@ -14,6 +14,20 @@
|
|||||||
"webpack://?:*/*": "${webRoot}/*"
|
"webpack://?:*/*": "${webRoot}/*"
|
||||||
},
|
},
|
||||||
"preLaunchTask": "npm: dev"
|
"preLaunchTask": "npm: dev"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "chrome",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Launch Chrome against localhost (Windows)",
|
||||||
|
"url": "http://localhost:5173",
|
||||||
|
"webRoot": "${workspaceFolder}",
|
||||||
|
"sourceMaps": true,
|
||||||
|
"sourceMapPathOverrides": {
|
||||||
|
"/@fs/*": "${webRoot}/*",
|
||||||
|
"webpack:///./~/*": "${webRoot}/node_modules/*",
|
||||||
|
"webpack://?:*/*": "${webRoot}/*"
|
||||||
|
},
|
||||||
|
"preLaunchTask": "npm: dev (Windows)"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Vendored
+23
@@ -23,6 +23,29 @@
|
|||||||
"endsPattern": "ready in .*ms"
|
"endsPattern": "ready in .*ms"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "npm",
|
||||||
|
"script": "dev",
|
||||||
|
"label": "npm: dev (Windows)",
|
||||||
|
"detail": "vite",
|
||||||
|
"isBackground": true,
|
||||||
|
"options": {
|
||||||
|
"shell": {
|
||||||
|
"executable": "cmd.exe",
|
||||||
|
"args": ["/d", "/c"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"problemMatcher": {
|
||||||
|
"pattern": {
|
||||||
|
"regexp": "^.*$"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"activeOnStart": true,
|
||||||
|
"beginsPattern": ".*",
|
||||||
|
"endsPattern": "ready in .*ms"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user