mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
chore: debugger config for vscode developers
This commit is contained in:
parent
8725f7cfb2
commit
e10a7ea9a6
19
.vscode/launch.json
vendored
19
.vscode/launch.json
vendored
@ -1,19 +1,24 @@
|
|||||||
{
|
{
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
|
// nodemon should be installed globally, use npm i -g nodemon
|
||||||
{
|
{
|
||||||
"type": "node",
|
"console": "integratedTerminal",
|
||||||
|
"internalConsoleOptions": "neverOpen",
|
||||||
|
"name": "nodemon start-server",
|
||||||
|
"program": "${workspaceFolder}/src/www",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "start-server",
|
"restart": true,
|
||||||
"skipFiles": [
|
"runtimeExecutable": "nodemon",
|
||||||
"<node_internals>/**"
|
|
||||||
],
|
|
||||||
"env": {
|
"env": {
|
||||||
"TRILIUM_ENV": "dev",
|
"TRILIUM_ENV": "dev",
|
||||||
"TRILIUM_DATA_DIR": "./data"
|
"TRILIUM_DATA_DIR": "./data"
|
||||||
},
|
},
|
||||||
|
"skipFiles": [
|
||||||
|
"<node_internals>/**"
|
||||||
|
],
|
||||||
|
"type": "node",
|
||||||
"outputCapture": "std",
|
"outputCapture": "std",
|
||||||
"program": "${workspaceFolder}/src/www"
|
},
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user