feat: add global.trace and check node module
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
@ -19,6 +19,7 @@ var global = this;
|
||||
if (java.nio.file.Files.exists(java.nio.file.Paths.get(root, "debug"))) {
|
||||
logger.info('Running debugging mode...');
|
||||
global.debug = true;
|
||||
global.trace = true;
|
||||
}
|
||||
// Check Class Loader, Sometimes Server will can't find plugin.yml file
|
||||
loader = checkClassLoader();
|
||||
|
Reference in New Issue
Block a user