From ec3a1d9bb07303187787ff79772d8b02805a2d1a Mon Sep 17 00:00:00 2001 From: Gravit Date: Mon, 22 Oct 2018 18:47:26 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B4=D0=B0=D1=87?= =?UTF-8?q?=D0=B0=20launcher.debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/ru/gravit/launcher/ClientLauncherWrapper.java | 1 + 1 file changed, 1 insertion(+) 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();