[M10 Fixes] - remote debug flag fix (#494)

This commit is contained in:
Patrick Kuo 2017-04-03 16:16:31 +01:00 committed by GitHub
parent e0c548d4fa
commit bf90b140c1

View File

@ -26,7 +26,7 @@ object ProcessUtilities {
val separator = System.getProperty("file.separator")
val classpath = System.getProperty("java.class.path")
val javaPath = System.getProperty("java.home") + separator + "bin" + separator + "java"
val debugPortArgument = if (jdwpPort == null) {
val debugPortArgument = if (jdwpPort != null) {
listOf("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=$jdwpPort")
} else {
emptyList()