add chrome debugging config

This commit is contained in:
Felicio Mununga 2022-11-20 21:33:10 +01:00
parent 3b3bcd1c2a
commit d4bec26bcc
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 11 additions and 0 deletions

11
.vscode/launch.json vendored
View File

@ -1,6 +1,17 @@
{ {
"version": "0.2.0", "version": "0.2.0",
// https://code.visualstudio.com/docs/nodejs/browser-debugging for browser debugging docs
// https://github.com/microsoft/vscode-js-debug/blob/d77a474700e16d647e8fe68c205ef867094fa092/OPTIONS.md for browser debugging options
// https://github.com/vitejs/vite/issues/10372#issuecomment-1321219125 for debugging deeply nested `node_modules` dependencies in Chrome DevTools
"configurations": [ "configurations": [
{
"name": "Attach to Vite via Chrome",
"url": "http://localhost:5173",
"request": "launch",
"type": "chrome",
"smartStep": false,
"sourceMaps": true
},
{ {
"type": "node", "type": "node",
"request": "launch", "request": "launch",