How to debug a plugin in remote development

As Jetbrains is introducing modular projects / remdev / gateway etc.

As introduced, plugin developer should migrate it into modular packages (frontend/backend/shared). But then how can I debug the plugin in a mocked client/remote headless IDE scenario?

We are currently implementing an easy solution to debug both frontend and backend processes. The existing way we launch an IDE via gradle offers only backend debug out of the box. With one of the upcoming IJ Gradle Plugin updates, there will be a ready solution for frontend as well. Please stay tuned

Starting with IJ Gradle plugin 2.14.0 , a proper debug support is added as well as convenient run configuration for running both backend and frontend.

Please, see Split Mode (Remote Development) | IntelliJ Platform Plugin SDK