private void openDebugger(ContextFactory factory) {
try {
UIManager.setLookAndFeel(MetalLookAndFeel.class.getName());
_debugger = new Main("TMLScript Debugger");
_debugger.attachTo(factory);
_debugger.setExitAction(null);
_debugger.pack();
_debugger.setSize(600, 460);
_debugger.setVisible(true);