Skip to content

Build your personal knowledge base with Trilium Notes

Add a VSCode debug configuration matching the start-server npm script (#1061)

Adam Coyne0def5f9a6322
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000000..87b70a7606
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,18 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "type": "node",
+ "request": "launch",
+ "name": "start-server",
+ "skipFiles": [
+ "<node_internals>/**"
+ ],
+ "env": {
+ "TRILIUM_ENV": "dev"
+ },
+ "outputCapture": "std",
+ "program": "${workspaceFolder}/src/www"
+ }
+ ]
+}
\ No newline at end of file