Why does the Flask debug configuration uses "--no-reload" by default? #23071
-
Currently Steps to reproduce:
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello_world():
return "<p>Hello, World!</p>"
{
// 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 Debugger: Flask",
"type": "debugpy",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "app.py",
"FLASK_DEBUG": "1"
},
"args": ["run", "--no-debugger", "--no-reload"],
"jinja": true,
"autoStartBrowser": false
}
]
}
|
Beta Was this translation helpful? Give feedback.
Answered by
karthiknadig
Jun 12, 2024
Replies: 1 comment
-
Sorry for the delayed response, I some how missed this one. This is something that is a holdover from the time when this was not supported by the debugger. Created an issue here to investigate removing it: microsoft/vscode-python-debugger#364 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
abceleung
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry for the delayed response, I some how missed this one. This is something that is a holdover from the time when this was not supported by the debugger. Created an issue here to investigate removing it: microsoft/vscode-python-debugger#364