When I set conf.setDebuggerEnabled(true) app crashing with java.lang.IllegalArgumentException: Can't initialize the configured debugger! (trying resolve some swing classes aka Failed resolution of: Ljavax/swing/JTabbedPane;, etc.)
Always include a stacktrace with reporting unexpected exceptions. It should figure out automatically the right debugger for the platform.