pythondebuggingpycharmworkflowspyder

Migration of Workflow from Spyder IDE to PyCharm: Code snippet execution and variable explorer


I currently use the Spyder IDE and have often thought about migrating to PyCharm but there is one feature I often use which makes it impossible for me to switch.

I very often use Spyders Code Snippet execution by marking lines of code and executing them with F9. After that I inspect the outcome of the execution in the variable explorer to debug my applications. Thus I never use/need breakpoints.

Can I apply this workflow also in PyCharm? I often tried but failed to find this functionality.

enter image description here


Solution

  • Yes, It is possible to execute only a part of your code on pycharm. To do so :