You can import connect the plugin as an add-on module in IntelliJ to your application and set the location of the Grails plugin to look at the absolute location of the plugin.
This can be done using this parameter in BuildConfig.groovy
grails.plugin.location.your-plugin = "/path/to/your/plugin"
@Refer Plugins for details.
Add breakpoints to the imported module (grails plugin) and run the application in debug mode to get to the breakpoint.
source share