Skip to content

Commit

Permalink
feat: flask debugger for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
dartpain committed Dec 19, 2024
1 parent 8564198 commit 6fc4723
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@
"skipFiles": [
"<node_internals>/**"
]
}
},
{
"name": "Python Debugger: Flask",
"type": "debugpy",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "application/app.py",
"PYTHONPATH": "${workspaceFolder}",
"FLASK_ENV": "development",
"FLASK_DEBUG": "1",
"FLASK_RUN_PORT": "7091",
"FLASK_RUN_HOST": "0.0.0.0"

},
"args": [
"run",
"--no-debugger"
],
"cwd": "${workspaceFolder}",
},
]
}

0 comments on commit 6fc4723

Please sign in to comment.