Fixing socket listener port
"Nascif Abousalh-Neto" <[email protected]>
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
When I start a debugee process in server mode, using the command line options: -Xrunjdwp:transport=dt_socket,server=y,suspend=n It starts each time listening in a different port. I would like to skip the tedious "find port number on server output, copy, switch to JSwat, attach, paste port number" cycle. If I could fix the port, I could code an alias in JSwat to attach or even direct JSwat to automatically attach to the server as soon as it starts. So the question is, is there any way to fix the port number when starting an application in debug-server mode, to remove the manual step? Regards, Nascif