Is there an interface (maybe part of JMX) that I can use to dynamically enable or disable the JVM debugger support from Java code inside that JVM?
(See also Debug a java application without starting the JVM with debug arguments —CRM)
I had the same question but I worded it differently the answer I got was there is a way
using the jsadebugd