I dont know if you can debug idea plugin executing...
# scripting
e
I dont know if you can debug idea plugin executing the refinement block but you can create a dummy host / script compiler and run/debug compilation of your kts script and if you set a breakpoint in your refinement callback it will pause execution