Detailed Tutorial: Remote Code DEBUG with IntelliJ IDEA
When we use IDEA to DEBUG code, the console often prints something like: 'Connected to the target VM, address: 127.0.0.1:62981, transport: socket'. So even if the code doesn't run locally, as long as the JVM has debug mode on and the network can connect to the JVM via socket, the Debug protocol over Socket communication can pass debug commands and debug info.







