Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I get pycharm-debug.egg for Idea?

I can't find pycharm-debug.egg in IntelliJ Idea (2016.2) installation directory, where can I get it?

like image 578
czerny Avatar asked Aug 06 '16 21:08

czerny


People also ask

Can you debug Python in IntelliJ?

Python Debugger SettingsUltimate Use this page to configure Python debug options. If this checkbox is selected, IntelliJ IDEA will automatically attach all subprocesses of the process being debugged. Thus, if the parent process has subprocesses, their breakpoints will always work.

How do I enable Debugging in IntelliJ?

Click the Run icon in the gutter, then select Modify Run Configuration. Enter arguments in the Program arguments field. Click the Run button near the main method. From the menu, select Debug.

How do I enable debug mode in PyCharm?

Just right-click any line in the editor and select the Debug <filename> command from the context menu. After the program has been suspended, use the debugger to get the information about the state of the program and how it changes during running.

Is there a debugger in PyCharm?

The debugger is attached behind the scenes, so you don't have to configure anything specific to start a debugger session. If you are able to run your program from PyCharm, you will also be able to debug it using the same configuration.


1 Answers

It is distributed as part of PyCharm in its debug-eggs directory. On MacOS, right click PyCharm.app, Hit Show Package Content and find it in Contents/debug-eggs/

enter image description here


The file was also available in JetBrains/intellij-community github repository:
https://github.com/JetBrains/intellij-community/blob/162.1628/python/testData/debug/pycharm-debug.egg

Change the branch to match your version appropriately. One has to pay attention to versions since if version of the egg doesn't match the version of Idea

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

may be printed or the debugger may even refuse connection.

like image 124
czerny Avatar answered Oct 13 '22 01:10

czerny