How to debug Groovy code via the remote Java application debugging in Eclipse
问题 I'm struggling to debug an application that builds as a Sling bundle. The application is almost entirely Groovy code (I have the Groovy Eclipse plug-in), and Eclipse (using Maven) is building the .jar and installing it in Sling without any problems. However, it's not able to debug. I have followed instructions to set up remote debugging, which I gather is necessary for debugging Sling apps - specifically, I launch Sling with the following command: java -Xdebug -Xnoagent -Djava.io.tmpdir=/c