Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[doc] Update the launch configuration for Auth

vishnukvmd4f89bf9eb5bc
diff --git a/auth/docs/README.md b/auth/docs/README.md
index e23c7e5b56..67208c4a68 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 9ad9970580..cf6e037e34 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"]
}
]