Run Configuration has debug disabled only in PyCharm CE


Hello there,

I am building a Run Configuration plugin for PyCharm, and I want both Run and Debug actions available. I started out with the Plugin template and then followed the instructions scattered around here and got to a point where my RunConfiguration class inherits `ModuleBasedConfiguration` and implements `org.jetbrains.debugger.DebuggableRunConfiguration`.

Now, the Run and Debug buttons are both enabled on the toolbar when I test my plugin (via the Run Plugin gradle task), and also when I install the plugin to a PyCharm Professional instance (via the Install Plugin from Disk dialog). However, when I install the plugin to a PyCharm CE instance I have, only the Run button is available – the Debug button is disabled.

Is there something I need to do to specifically allow debugging via PyCharm CE?

Here is my plugin.xml file:

<!-- Plugin Configuration File. Read more: -->

<!-- Unique id for this plugin. Must stay constant for the life of the plugin. -->
<!-- Text to display as name on Preferences/Settings | Plugin page -->

<!-- Text to display as company information on Preferences/Settings | Plugin page -->
<vendor url="...">V</vendor>

<!-- Product and plugin compatibility requirements -->

<extensions defaultExtensionNs="com.intellij">
<configurationType implementation="plugins.env.runConfiguration.MyVRunConfigurationType" />


Any help will be much appreciated,



Hi Ben,

I don't see what can be the reason.

I suggest debugging com.intellij.execution.ExecutorRegistryImpl.ExecutorAction#canRun() method to see why it is disabled for Debug button.


I had the same problem and solved by adding this to my plugin.xml file.

<extensions defaultExtensionNs="com.intellij">
	<programRunner implementation="com.intellij.javascript.debugger.execution.DebuggableProgramRunner" order="last"/>

 Thank you Johan (and Karol)! That helps


Please sign in to leave a comment.