-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
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
Variables section only shows 'Invalid variable attributes'. #699
Comments
This also reproduces locally. The relevant bit from debugpy logs:
The |
The underlying problem is that this: hash(session.__class__) fails, because That said, we should be able to gracefully handle stuff like this, since any type can redefine |
Environment data
import debugpy; print(debugpy.__version__)
if uncertain)Actual behavior
Variables section shows no variables, show error message 'Invalid variable attributes' instead. This seems to be with particular Python version (3.7) in combination with particular Flask submodules (
session
andrequest
).Expected behavior
Variables shown in the variable section of VS Code.
Steps to reproduce:
git clone https://github.com/microsoft/vscode-remote-try-python.git
.devcontainer/devcontainer.json
.app.py
to trigger the behavior:The text was updated successfully, but these errors were encountered: