Warning: wrong debugger version. Use pycharm-debugger.egg from PyCharm installation folder.

Answered

Hi i'm using Ultimate edition Idea

IntelliJ IDEA 2016.1.2
Build #IU-145.972, built on May 14, 2016
JRE: 1.8.0_161-b12 i386
JVM: Java HotSpot(TM) Server VM by Oracle Corporation

Where do i find a matching pycharm-debugger.egg for Python debugging?

Thanks

 

0
5 comments

Ok so i found ~/.IntelliJIdea2016.1/config/plugins/python/pycharm-debug.egg, but when i try top use that i get

./test.py
warning: Debugger speedups using cython not found. Run '"/usr/bin/python" "/home/mario/pycharm-debug.egg/setup_cython.py" build_ext --inplace' to build.
Hello World

Then i run

"/usr/bin/python" "/home/mario/pycharm-debug.egg/setup_cython.py" build_ext --inplace
/usr/bin/python: can't find '__main__' module in '/home/mario/pycharm-debug.egg/setup_cython.py'

test.py has the following

#!/usr/bin/python
import sys
try:
  sys.path.append('/home/mario/pycharm-debug.egg')
  import pydevd
  pydevd.settrace('lindev', port=27272, stdoutToServer=True, stderrToServer=True, suspend=False)
except:
  pass

print ("Hello World")

0

Hello Mario,

Could you please check the issue with the latest EAP: https://www.jetbrains.com/idea/nextversion/ ?

 

0

That one works, but i don't have a license for it. I was hoping to have this work on the version i already paid for.

0

Ok, so here's an update. It seems "Debugger speedups" are optional for debugging.

But afterwards i got

warning: Debugger speedups using cython not found. Run '"/usr/bin/python" "/root/pycharm-debug.egg/setup_cython.py" build_ext --inplace' to build.
Unknown terminal: emacs
Check the TERM environment variable.
Also make sure that the terminal is defined in the terminfo database.
Alternatively, set the TERMCAP environment variable to the desired
termcap entry.

This issue actually kills debugging for me.

After following

https://stackoverflow.com/questions/37910865/emacs-unknown-terminal-type?rq=1

i made the change in my pycharm-debug.egg/_pydev_bundle/pydev_ipython_console.py

and that seems to do the trick for me.

It's a bit hacky, though.

 

0

Mario,

It's possible to use EAP without license. We'll check what is wrong there because all similar issues should be already fixed.

0

Please sign in to leave a comment.