You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spyder won't start in debug mode anymore. Several weeks ago this was working. It's broken now for a couple of weeks. Don't know the exact time when that changed. This affects branches 3.x as well as master.
What steps will reproduce the problem?
run bootstrap.py --debug
What is the expected output? What do you see instead? Expected: Spyder should start up. Instead: The program terminates with the message "ERROR: Can't enable debug mode - Spyder is already imported"
Please provide any additional information below
Debug mode will only be started if not "spyder.config.base" in sys.modules. However it seems that from spyder.utils.vcs import get_git_revision some lines earlier in bootstrap.py does always add this module to sys.modules.
I propose to move the code for enabling debugging up before the version information.
Description of your problem
Spyder won't start in debug mode anymore. Several weeks ago this was working. It's broken now for a couple of weeks. Don't know the exact time when that changed. This affects branches 3.x as well as master.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected: Spyder should start up.
Instead: The program terminates with the message "ERROR: Can't enable debug mode - Spyder is already imported"
Please provide any additional information below
Debug mode will only be started if not
"spyder.config.base" in sys.modules
. However it seems thatfrom spyder.utils.vcs import get_git_revision
some lines earlier inbootstrap.py
does always add this module tosys.modules
.I propose to move the code for enabling debugging up before the version information.
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: