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

Debugger does not use global presets to run in console's namespace #23052

Closed
Arthanor opened this issue Nov 22, 2024 · 1 comment
Closed

Debugger does not use global presets to run in console's namespace #23052

Arthanor opened this issue Nov 22, 2024 · 1 comment

Comments

@Arthanor
Copy link

I recently updated Spyder to 6.0.1 and have the following issue:
My configuration for the debugger and regular ipython console are set like this:
image

However, when debugging a file, what gets executed in the console is:

%debugfile 'Path/To/File.py' --wdir

instead of doing like when running a file and keeping my variables:

%runfile 'Path/To/File.py' --wdir --current-namespace

Manually adding the --current-namespace to the wrong command does make it work properly.

@ccordoba12
Copy link
Member

ccordoba12 commented Nov 22, 2024

Hey @Arthanor, thanks for reporting. This is basically the same problem as the one reported in issue #22496, in the sense that we're not passing the global or per file debugging options set by users to the debugfile command.

We'll try to fix that in our 6.0.4 version, to be released at the beginning of next year.

@ccordoba12 ccordoba12 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants