open-law/.vscode/launch.json

41 lines
1.2 KiB
JSON
Raw Normal View History

2023-04-20 13:10:16 +00:00
{
// 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": "Python: Flask",
"type": "python",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "wsgi:app",
"APP_ENV": "development",
"FLASK_DEBUG": "1"
},
"args": [
"run",
"--port",
"5006"
],
"jinja": true,
"justMyCode": false
},
{
"name": "Docker: Python - Flask",
"type": "docker",
"request": "launch",
"preLaunchTask": "docker-run: debug",
"python": {
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app"
}
],
"projectType": "flask"
}
}
]
}