The answer is no - if the JVM was not started using the debug option, you cannot connect to the debug port.
Special profiler JVM types may exist that allow this, but this is not possible with any of the standard JMVs — for obvious security reasons.
source
share