Skip to content

Build your personal knowledge base with Trilium Notes

add client and compound launch entry

misch3344c36a9cca93c
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 6aee4ca1af..e69744775a 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -1,6 +1,14 @@
{
"version": "0.2.0",
"configurations": [
+ {
+ "name": "Launch client (Chrome)",
+ "request": "launch",
+ "type": "chrome",
+ "url": "http://localhost:8080",
+ "webRoot": "${workspaceFolder}/apps/client",
+ "runtimeExecutable": "${input:pick_chrome_browser}"
+ },
{
"name": "Launch server",
"type": "node",
@@ -32,12 +40,26 @@
"cwd": "${workspaceFolder}"
}
],
+ "compounds": [
+ {
+ "name": "Launch client (Chrome) and server",
+ "configurations": ["Launch server","Launch client (Chrome)"],
+ "stopAll": true
+ }
+ ],
"inputs": [
{
"id": "trilium_data_dir",
"type": "promptString",
"description": "Select Trilum Notes data directory",
"default": "${workspaceFolder}/apps/server/data"
+ },
+ {
+ "id": "pick_chrome_browser",
+ "type": "pickString",
+ "description": "Select a Chrome browser",
+ "options": ["/usr/bin/chromium-browser", "/usr/bin/google-chrome"],
+ "default": "/usr/bin/chromium-browser"
}
]
}