From ba2481fbf047da16830211235d8891fbb3ae449b Mon Sep 17 00:00:00 2001 From: Aliaksei Tratseuski Date: Tue, 12 Mar 2024 03:46:03 +0300 Subject: [PATCH] feat: vscode launch scripts with flavors --- .vscode/launch.json | 53 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..2b83ac77 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,53 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "debug", + "request": "launch", + "type": "dart" + }, + { + "name": "profile mode", + "request": "launch", + "type": "dart", + "flutterMode": "profile" + }, + { + "name": "release mode", + "request": "launch", + "type": "dart", + "flutterMode": "release" + }, + { + "name": "debug (fdroid)", + "request": "launch", + "type": "dart", + "args": [ + "--flavor", + "fdroid" + ] + }, + { + "name": "debug (production)", + "request": "launch", + "type": "dart", + "args": [ + "--flavor", + "production" + ] + }, + + { + "name": "debug (nightly)", + "request": "launch", + "type": "dart", + "args": [ + "--flavor", + "nightly" + ] + } + ] +} \ No newline at end of file