Cannot access org.jetbrains.debugger.DebuggableRunConfiguration (configure dependency in 2026 SDK?)

Hi everyone,

I’m migrating an IntelliJ plugin to the 2026 SDK and running into the following compilation error:

Cannot access 'org.jetbrains.debugger.DebuggableRunConfiguration' 
which is a supertype of 'NsRunConfiguration'. 
Check your module classpath for missing or conflicting dependencies.
public class NsRunConfiguration extends DebuggableProcessRunConfigurationBase

I follow the intellij plugin template with the following configuration:

intellijPlatform {
    intellijIdea(providers.gradleProperty("platformVersion"))

    // Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
    bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') })

    // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
    plugins(providers.gradleProperty("platformPlugins").map { it.split(',') })

    // Module Dependencies. Uses `platformBundledModules` property from the gradle.properties file for bundled IntelliJ Platform modules.
    bundledModules(providers.gradleProperty("platformBundledModules").map { it.split(',') })

    testFramework(TestFrameworkType.Platform)
}

and gradle.properties:

platformType = IU

platformVersion = 2026.1

platformDownloadSources = true

platformPlugins = org.jetbrains.plugins.vue:261.22158.208

platformBundledPlugins = AngularJS, HtmlTools, JavaScriptDebugger, JavaScript, com.intellij.css, com.intellij.modules.json

platformBundledModules = intellij.javascript.debugger.ui javaVersion = 21

Thanks in advance for your help

I was able to solve the problem by adding the modules

platformBundledModules = intellij.javascript.debugger.ui, intellij.platform.scriptDebugger.ui

Hi @iguissouma ! Sorry for waiting, it took me a while to find the exact root cause.

Your workaround is absolutely correct. The reason it happened in 2026.1 is that we started to use required-if-available in JavaScriptDebugger to support remote development scenarios (you can read about required-if-available here).

But IntelliJ plugin verifier still doesn’t support it, so it incorrectly calculates transitive dependencies for such plugins. I created a ticket to support required-if-available in plugin verifier. MP-8072