diff --git a/Launcher/src/main/java/ru/gravit/launcher/ClientLauncherWrapper.java b/Launcher/src/main/java/ru/gravit/launcher/ClientLauncherWrapper.java index dbea8921..053e334f 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/ClientLauncherWrapper.java +++ b/Launcher/src/main/java/ru/gravit/launcher/ClientLauncherWrapper.java @@ -29,6 +29,7 @@ public static void main(String[] arguments) throws IOException, InterruptedExcep String pathLauncher = IOHelper.getCodeSource(ClientLauncher.class).toString(); Collections.addAll(args, "-javaagent:".concat(pathLauncher)); Collections.addAll(args, LauncherEngine.class.getName()); + args.add(JVMHelper.jvmProperty(LogHelper.DEBUG_PROPERTY, Boolean.toString(LogHelper.isDebugEnabled()))); EnvHelper.addEnv(processBuilder); processBuilder.command(args); Process process = processBuilder.start();