2

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)

Community
  • 1
  • 1
Thilo
  • 257,207
  • 101
  • 511
  • 656

1 Answers1

2

I had the same question but I worded it differently the answer I got was there is a way

using the jsadebugd

Community
  • 1
  • 1
hhafez
  • 38,949
  • 39
  • 113
  • 143