We are developing a PyCharm plugin designed to generate Python code as output based on specific input. The provided code serves as a Python template that users can modify before running it through our PyCharm plugin. The user interface of our PyCharm plugin will resemble the following:
After clicking on run button we can able to run respected python function. We use custom RunConfigurationOptions class which have “python script name” as input and we run that commands on console.
Running above configuration on console.
Issue Description: Our objective is to integrate the PyCharm debugger into Python code generated by our plugin. In the current setup, we are utilizing a custom run configuration to execute commands in the console. However, we are facing a challenge in incorporating the debugger. We are exploring the option of leveraging the existing Python Run Configuration in PyCharm, which already possesses debugger functionality. Unfortunately, we have been unable to locate any references for the built-in Python Run Configuration classes. Your assistance in identifying these classes or offering guidance on how to integrate the debugger into our PyCharm plugin would be greatly appreciated.