-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When debugging this in a launch session:
# app.py
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "ok"
if __name__ == "__main__":
app.run(debug=True)
The following output is produced:
> 'C:\Python\3.9-64\python.exe' 'c:\Users\pminaev\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '61002' '--' '-m' 'flask' 'run' '--no-debugger'
...
* Restarting with stat
C:\Python\3.9-64\lib\site-packages\debugpy\_vendored\force_pydevd.py:18: UserWarning: incompatible copy of pydevd already imported:
c:\Users\pminaev\.vscode\extensions\ms-python.python-2022.20.0\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydev_bundle\__init__.py
...
(it goes on to list all the files)
It doesn't seem to affect function, but the warning is obviously incorrect, since it's complaining about its own vendored copy.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working