From 4f89bf9eb5bc7a9f2b14851a15bbc3ffb0c6b968 Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Wed, 6 Mar 2024 16:23:40 +0530 Subject: [PATCH] [doc] Update the launch configuration for Auth --- auth/docs/README.md | 9 +++++++++ auth/docs/vscode/launch.json | 10 +++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/auth/docs/README.md b/auth/docs/README.md index e23c7e5b5..67208c4a6 100644 --- a/auth/docs/README.md +++ b/auth/docs/README.md @@ -1,3 +1,12 @@ ## Developer docs Documentation and notes about more advanced or infrequently needed details. + +### Running + +If you're using VSCode, you can setup the launch configuration by copying the +template into your `.vscode` folder at the root of the project. + +```bash +cp auth/docs/vscode/launch.json .vscode/ +``` \ No newline at end of file diff --git a/auth/docs/vscode/launch.json b/auth/docs/vscode/launch.json index 9ad997058..cf6e037e3 100644 --- a/auth/docs/vscode/launch.json +++ b/auth/docs/vscode/launch.json @@ -6,14 +6,14 @@ "request": "launch", "type": "dart", "flutterMode": "debug", - "program": "lib/main.dart", + "program": "auth/lib/main.dart", "args": ["--dart-define", "endpoint=http://localhost:8080"] }, { "name": "Auth Android Dev", "request": "launch", "type": "dart", - "program": "lib/main.dart", + "program": "auth/lib/main.dart", "args": [ "--dart-define", "endpoint=http://192.168.1.3:8080", @@ -25,21 +25,21 @@ "name": "Auth iOS Dev", "request": "launch", "type": "dart", - "program": "lib/main.dart", + "program": "auth/lib/main.dart", "args": ["--dart-define", "endpoint=http://192.168.1.30:8080"] }, { "name": "Auth iOS Prod", "request": "launch", "type": "dart", - "program": "lib/main.dart", + "program": "auth/lib/main.dart", "args": ["--target", "lib/main.dart"] }, { "name": "Auth Android Prod", "request": "launch", "type": "dart", - "program": "lib/main.dart", + "program": "auth/lib/main.dart", "args": ["--target", "lib/main.dart", "--flavor", "independent"] } ]