d:; cd 'd:\NUEVA PC\Repos\EfdiIA2'; & 'c:\Users\nicos\AppData\Local\Programs\Python\Python312\python.exe' 'c:\Users\nicos.vscode\extensions\ms-python.debugpy-2024.12.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '60750' '-- ' '-m' 'flask' 'запустить' '--no-debugger' '--no-reload'
. Это мой запуск:
Код: Выделить всё
{
// 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
}
]
Уметь отлаживать flask по сравнению с кодом
Подробнее здесь: https://stackoverflow.com/questions/792 ... -it-worked
Мобильная версия