Search code examples
intellij-idearemote-debugging

IDEA, How to set up remote debugging?


Eclipse allows to connect to a remote process via a TCP port for remote debugging.

enter image description here

Does IDEA allow that? How can it be configured?


Solution

  • IDEA can do same that!! you can do as following steps: 1. enter Step --> edit configuration 2. Click Add (plus symbol at the left top) --> select remote 3. This screen 'll show to u: enter image description here

    you can alter host, port (where program live on), and run java with argument ,

    1. start debug with this configuration :D :D