Skip to content
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

Debug console on interactive Python script not able to create new variables #563

Open
rvillar-villari opened this issue Jan 22, 2025 · 1 comment
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@rvillar-villari
Copy link

Hi,

I am experiencing many issues with the Python debugger in VS Code, but this one seems especially silly. I am currently debugging a Python script that I have separated into cells, so I have my script with the debugger active on it, the interactive window and then another panel with my variables, terminal and debug console.

Right now, the debug console is unable to create new variables. I wanted to copy a variable to test something on it, but it cannot find the newly created variable (see screenshot below). Any idea why this is? As I said, I have been having many issues so potentially this could have something to do with something more complex going on? Would be happy to elaborate if needed.

Image

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jan 22, 2025
@rvillar-villari
Copy link
Author

Also I just had the issue that when I tried to debug the cell, VS Code opened a sort of temporary file where only the code of the cell being debugged is shown, looks like plain text, and I cannot interact with the code.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

1 participant