generated from azure-template-resources/todo-python-mongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
49 lines (47 loc) · 1.45 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Web",
"request": "launch",
"type": "msedge",
"webRoot": "${workspaceFolder}/src/web/src",
"url": "http://localhost:3000",
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
},
},
{
"name": "Debug API",
"type": "python",
"request": "launch",
"module": "uvicorn",
"cwd": "${workspaceFolder}/src/api",
"args": [
"todo.app:app",
"--port", "3100",
"--reload"
],
"justMyCode": true,
"python": "${workspaceFolder}/src/api/api_env/bin/python3",
"envFile": "${input:dotEnvFilePath}",
"windows": {
"python": "${workspaceFolder}/src/api/api_env/scripts/python.exe"
},
"preLaunchTask": "Restore API",
"env": {
"API_ENVIRONMENT":"develop"
}
}
],
"inputs": [
{
"id": "dotEnvFilePath",
"type": "command",
"command": "azure-dev.commands.getDotEnvFilePath"
}
]
}