I was not sure if anyone else has run into this issue, but in the new Pycharm 2017.1 the Open Debug Command Line option is not working at all. I created a test case and ran it with py.test
with no problem. But when I have a breakpoint and try to Open Debug Command Line
the debug console only opens a regular python console with no connection to the underlying debug process. I can't seem to access any variables in the debug scope either.
I have posted an issue to the Jetbrains Pycharm issue tracker issue PY-23401.
In the image below you can see the debug console opened at the bottom of the screenshot. I tried to enter some variable values from the debug session, but don't receive an error and don't receive any info either. Has anyone else run into this, and has anyone found a way to fix this?
It looks like your
lower_ml
variable isNone
.Try going back into the debugger tab, and setting a watcher for it. Or try
lower_ml is None
in the console.I have the same problem. Also it's not possible anymore to run individual functions from tests. The 2017.1 release seems to be a bit broken.
The solution for me was to install Pycharm version 2017.1.2. That fixed the issue.