Skip to content

High performance self-hosted photo and video management solution.

chore: pass flavor to vscode flutter codelens (#19919)

shenlong33c29e4305ad
diff --git a/.vscode/launch.json b/.vscode/launch.json
index ed3da9f667..8682376cda 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -18,6 +18,25 @@
"name": "Immich Workers",
"remoteRoot": "/usr/src/app",
"localRoot": "${workspaceFolder}/server"
+ },
+ {
+ "name": "Flavor - Production",
+ "request": "launch",
+ "type": "dart",
+ "codeLens": {
+ "for": [
+ "run-test",
+ "run-test-file",
+ "run-file",
+ "debug-test",
+ "debug-test-file",
+ "debug-file",
+ ],
+ "title": "${debugType}",
+ },
+ "args": [
+ "--flavor", "production"
+ ],
}
]
}