In preparation for remote debugging I have started (on Mac):
java Test -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9000
It is running in a loop.
Is there a simple way to verify that the process is indeed listening on port 9000?