Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
adjust vi launch.json to be based on vitest.dev/guide/debugging
misch3345c007cdebc3a
diff --git a/.vscode/launch.json b/.vscode/launch.jsonindex 953428cdb0..a45f8602fc 100644--- a/.vscode/launch.json+++ b/.vscode/launch.json@@ -19,14 +19,16 @@"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"]},{- "name": "Launch vitest",+ "name": "Launch Vitest with current test file","type": "node","request": "launch",- "program": "${file}",- "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/vitest",- "runtimeArgs": ["--inspectBrk", "--no-file-parallelism", "run"],- "cwd": "${workspaceFolder}",- "skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"]+ "autoAttachChildProcesses": true,+ "program": "${workspaceFolder}/node_modules/vitest/vitest.mjs",+ "args": ["run", "${relativeFile}"],+ "smartStep": true,+ "console": "integratedTerminal",+ "skipFiles": ["<node_internals>/**", "**/node_modules/**"],+ "cwd": "${workspaceFolder}"}],"inputs": [