Create Run/Debug Configurations > Remote JVM Debug
For the Configurations, just use the default values.
- Host:
localhost- port:
5005- JVM option:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
- Run
run-agent.sh. - Run the 'Remote JVM Debug' that created.
- Start debugging.