|
|
|
@ -63,6 +63,11 @@ public abstract class BaseDesigner extends ToolBarMenuDock {
|
|
|
|
|
|
|
|
|
|
public BaseDesigner(String[] args) { |
|
|
|
|
|
|
|
|
|
init(args); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void init(String[] args) { |
|
|
|
|
|
|
|
|
|
RestartHelper.deleteRecordFilesWhenStart(); |
|
|
|
|
ConfigManagerFactory.registerConfigManagerProxy(new ConfigManagerCreatorProxy()); |
|
|
|
|
//启动core
|
|
|
|
@ -204,7 +209,8 @@ public abstract class BaseDesigner extends ToolBarMenuDock {
|
|
|
|
|
|
|
|
|
|
//在VM options里加入-Ddebug=true激活
|
|
|
|
|
private boolean isDebug() { |
|
|
|
|
return "true".equals(System.getProperty("debug")); |
|
|
|
|
|
|
|
|
|
return ComparatorUtils.equals("true", System.getProperty("debug")); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static final int DEBUG_PORT = 51463; |
|
|
|
|