Cannot debug from IntelliJ


After joining the development tools overview webinar I saw in what way it was expected to use IntelliJ for debugging the application but the debug-configuration that should have been created automatically hasn’t been created for me. The option is missing from the IDE. When I run the ‘create/update Gradle / IDEA’ files it states to be successful but still doesn’t improve the situation.

Can I set it manually (and if so how)? Or is there another solution?

Thanks for your support.


This is really strange, that you have no debug configuration. Anyway, you can create debug configuration manually. To do this:

  1. Open Run/Debug Configurations dialog by invoking Run > Edit Configurations…
  2. Create new Remote configuration
  3. Set the following parameters:

Command line arguments for running remote JVM


For JDK 1.4.x

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787

For JDK 1.3.x or earlier

-Xnoagent -Djava.compiler=NONE -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787

Host: localhost

Port: 8787




That wasn’t so hard after all. It works! Thanks.