From 5934b0fad4260f9999d0501e18525bd5ff799af0 Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Tue, 1 Nov 2022 11:46:29 +0530 Subject: [PATCH] Define launch schemes --- .vscode/launch.json | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 2d0e16e18..a82873ebe 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,14 +5,7 @@ "version": "0.2.0", "configurations": [ { - "name": "Launch development", - "request": "launch", - "type": "dart", - "program": "lib/main.dart", - "args": ["--flavor", "debug", "--target", "lib/main.dart"] - }, - { - "name": "iOS Local", + "name": "Local", "request": "launch", "type": "dart", "flutterMode": "debug", @@ -20,16 +13,18 @@ "args": ["--dart-define", "endpoint=http://localhost:8080"] }, { - "name": "Launch production", + "name": "Dev", "request": "launch", "type": "dart", "program": "lib/main.dart", - "args": [ - "--target", - "lib/main.dart", - "--dart-define", - "endpoint=http://192.168.1.33:8080" - ] + "args": ["--dart-define", "endpoint=http://192.168.1.33:8080"] + }, + { + "name": "Prod", + "request": "launch", + "type": "dart", + "program": "lib/main.dart", + "args": ["--target", "lib/main.dart"] } ] }