Last active
August 10, 2020 21:07
-
-
Save thfrei/90809e68373b8f5731f5695ae2a49fc6 to your computer and use it in GitHub Desktop.
trilium vscode node chrome debug launch.json for vscode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "trilium dev", | |
"program": "${workspaceFolder}/src/www", | |
"request": "launch", | |
"runtimeArgs": ["--inspect","--inspect-port=9229"], | |
"env": { | |
"TRILIUM_ENV": "dev", | |
"TRILIUM_DATA_DIR": "C:\\temp\\trilium-data" | |
}, | |
"type": "pwa-node" | |
}, | |
{ | |
"name": "Attach to node", | |
"request": "attach", | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
{ | |
"name": "Attach to Chrome", | |
"port": 9222, | |
"request": "attach", | |
"urlFilter": "http://localhost:8080/*", | |
"type": "pwa-chrome", | |
"webRoot": "${workspaceFolder}/src/public" | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment