update launch.json to allow stepping into symlinked dependecies

This commit is contained in:
Felicio Mununga 2022-11-18 20:46:31 +01:00
parent 824875062f
commit 3b3bcd1c2a
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 7 additions and 2 deletions

9
.vscode/launch.json vendored
View File

@ -10,13 +10,18 @@
// todo?: make relative to ${file}
"cwd": "${workspaceFolder}/packages/status-js",
"program": "${workspaceRoot}/node_modules/vite-node/dist/cli.mjs",
"args": ["${file}"],
"args": ["--options.sourcemap=inline", "${file}"],
"smartStep": true,
"sourceMaps": true,
"env": {
"DEBUG": "*",
"DEBUG_HIDE_DATE": "0",
"DEBUG_COLORS": "1",
"VITE_NODE": "true"
}
},
"runtimeArgs": ["--preserve-symlinks"],
"outFiles": ["${workspaceFolder}/**/*.js"],
"resolveSourceMapLocations": ["**/*"]
},
{
"type": "node",