We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Related to #573
Update launch.json as follows:
launch.json
{ "name": "Python: Flask (0.11.x or later)", "type": "python", "request": "launch", "stopOnEntry": false, "module": "flask", "pythonPath": "${config:python.pythonPath}", "cwd": "${workspaceFolder}", "env": { "FLASK_APP": "${workspaceFolder}/app.py" }, "args": [ "run", "--no-debugger", "--no-reload" ], "envFile": "${workspaceFolder}/.env", "debugOptions": [ "RedirectOutput" ] },
Update with a sample app.py file:
app.py
from flask import Flask app = Flask(__name__) @app.route('/') def hello(): return "Hello World!" if __name__ == '__main__': app.run()
The text was updated successfully, but these errors were encountered:
PR has been submitted microsoft/vscode-docs#1451
Sorry, something went wrong.
DonJayamanne
No branches or pull requests
Related to #573
Update
launch.json
as follows:Update with a sample
app.py
file:The text was updated successfully, but these errors were encountered: