On the command line:
-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
You should now be able to connect to the instance using Eclipse.
| Command | Description |
|---|---|
| jstat | Show GC information about a running process. |
| jps | Show process id of running java applications. |
| jvisulavm | Gui for showing threads, objects and b´memory from running instances. |