Selaa lähdekoodia

Add localhost configurations

vishnukvmd 4 vuotta sitten
vanhempi
commit
d8851bf2f3
1 muutettua tiedostoa jossa 25 lisäystä ja 1 poistoa
  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",
+            ]
+        },
     ]
 }