I can't find pycharm-debug.egg
in IntelliJ Idea (2016.2) installation directory, where can I get it?
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.
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.
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.
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.
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/
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With