Running and Debugging a Theme
In most cases, the results of theme plugin can be previewed by running the Preview Theme action in the theme description file editor. Sometimes, when more advanced styling options are implemented, the previewing theme may not be enough to see all the changes. This page explains how to run or debug the theme plugin in the IDE configured as a part of project SDK.
Create Plugin Run Configuration
To run and debug a plugin directly from a theme plugin project, a Plugin run configuration must be added.
Add Plugin Run Configuration
Click the Add New Configuration... button (+) and select the Plugin type.
Provide the configuration Name, e.g., Run Theme.
Ensure that Use classpath of module specifies the current theme plugin module.
Click the Apply button.
See the IDE Development Instance section for information about advanced run configuration settings. If additional settings, like system property, are needed, see Run/Debug Configuration: Plugin explaining how to configure them.
Run/Debug Theme Plugin
To run the theme in the IDE development instance, choose Run..., select the Debug... action.and select the created run configuration. Debugging a theme is similar, but instead of