Skip to content

Commit b953c64

Browse files
committed
Update port parser
1 parent 0f534c8 commit b953c64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adapter/src/main/kotlin/org/javacs/ktda/adapter/KotlinDebugAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class KotlinDebugAdapter(
190190
val hostName = (args["hostName"] as? String)
191191
?: throw missingRequestArgument("attach", "hostName")
192192

193-
val port = (args["port"] as? String)?.toInt()
193+
val port = (args["port"] as? Double)?.toInt()
194194
?: throw missingRequestArgument("attach", "port")
195195

196196
val timeout = (args["timeout"] as? Double)?.toInt()

0 commit comments

Comments
 (0)