Add -p option to attach to a running JVM