Backend configs run Vite directly (not via npm run dev) so the Node inspector owns the process that executes SSR code, with source maps enabled for .ts server files. Frontend configs launch/attach Chrome. Adds a Node-inspector dev task, a Full Stack compound, and DEBUGGING.md documenting the Safari limitation and workflows.
11 lines
408 B
JSON
11 lines
408 B
JSON
{
|
|
// Keeps the JS debugger from stepping into node_modules / internal frames.
|
|
"debug.javascript.autoAttachFilter": "onlyWithFlag",
|
|
"debug.javascript.terminalOptions": {
|
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**"]
|
|
},
|
|
// Lets the Node debugger map Vite's served modules back to your source files.
|
|
"debug.javascript.usePreview": true,
|
|
"debug.javascript.breakOnConditionalError": false
|
|
}
|