Browse Source

Add localhost configurations

vishnukvmd 3 years ago
parent
commit
d8851bf2f3
1 changed files with 25 additions and 1 deletions
  1. 25 1
      .vscode/launch.json

+ 25 - 1
.vscode/launch.json

@@ -15,12 +15,36 @@
                 "independent"
             ]
         },
+        {
+            "name": "Android Local",
+            "request": "launch",
+            "type": "dart",
+            "flutterMode": "debug",
+            "program": "lib/main.dart",
+            "args": [
+                "--flavor",
+                "independent",
+                "--dart-define",
+                "endpoint=http://localhost:8080",
+            ]
+        },
         {
             "name": "iOS Prod",
             "request": "launch",
             "type": "dart",
             "flutterMode": "debug",
             "program": "lib/main.dart"
-        }
+        },
+        {
+            "name": "iOS Local",
+            "request": "launch",
+            "type": "dart",
+            "flutterMode": "debug",
+            "program": "lib/main.dart",
+            "args": [
+                "--dart-define",
+                "endpoint=http://localhost:8080",
+            ]
+        },
     ]
 }