Gateway PyCharm Client Debugger Console Prompt Not Active After Mysterious Reinitailization of Conda Environment
Everything seemed to be working ok with the Gateway client debugging remotely using PyCharm until, mysteriously, I was challenged to reconfigure the interpreter. My Conda environment seemed to be missing. After trying to find it in one of the popup dialogues that listed my Conda environments, and failing to find it listed among them, another popup dialogue found it and I activated it again. However, a bunch of my packages that had been installed both under Conda and pip were no longer installed -- stuff like pandas, numpy, matplotlib -- but a lot of other packages were installed as previously. Moreover, I was not provided the usual option of installing the missing packages when I hovered over the error in the source, so I had to go through the menu hierarchy repeatedly for each missing package. Then at some point, I was once again able to again install the missing packages with the hover option.
Once I got through reinstalling the required packages, I went back to debugging, but then discovered I could no longer use the Console within the Debugger to evaluate expressions. The console prompt didn't even show up until I clicked on the "Show Console Prompt" icon, at which point an inactive console prompt showed up. Entering expressions there did nothing. I tried restarting the Gateway from scratch but the problem persists.
JetBrains Client 2022.2.1 RC
Build #JBC-222.3739.43, built on August 10, 2022
Licensed to James Bowery
Subscription is active until March 18, 2023.
Runtime version: 17.0.3+7-b469.37 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
Controller in Remote Development (PY)
GC: G1 Young Generation, G1 Old Generation
Memory: 1500M
Cores: 8
Registry:
rdclient.backend.actionHandlers=false
Non-Bundled Plugins:
com.intellij.plugins.warmneon.colorscheme (222.3739.24)
com.intellij.plugins.twilight.colorscheme (222.3739.24)
com.intellij.plugins.monokai.colorscheme (222.3739.24)
com.intellij.plugins.github.colorscheme (222.3739.24)
IdeaVIM (1.10.2)
Please sign in to leave a comment.
Hi, looks similar to https://youtrack.jetbrains.com/issue/CWM-5983/Cannot-use-python-console
Do you have "Run with python console" enabled in your run/debug configuration by any chance? Does it help to disable it?
I'm seeing the same when using a `mamba` environment in my WSL2 Ubuntu 22.04 distro. Disabling "Run with python console" doesn't help. Remapping the interpreter doesn't help either :(
```
JetBrains Client 2023.1.2
Build #JBC-231.9011.38, built on May 17, 2023
Licensed to David Hirschfeld
Subscription is active until June 16, 2023.
Runtime version: 17.0.6+10-b829.9 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
Controller in Remote Development (PY)
GC: G1 Young Generation, G1 Old Generation
Memory: 1500M
Cores: 16
Registry:
rdclient.backend.actionHandlers=false
Non-Bundled Plugins:
com.intellij.plugins.visualstudiokeymap (231.8109.91)
```