Skip to content

Commit a972a92

Browse files
committed
Update debug configuations
1 parent c2aec4e commit a972a92

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.vscode/launch.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,25 @@
44
{
55
"type": "kotlin",
66
"request": "launch",
7-
"name": "Kotlin Launch",
7+
"name": "Launch KLS",
88
"projectRoot": "${workspaceFolder}/server",
99
"mainClass": "org.javacs.kt.MainKt"
1010
},
11+
{
12+
"type": "kotlin",
13+
"name": "Attach running KLS",
14+
"request": "attach",
15+
"hostName": "localhost",
16+
"projectRoot": "${workspaceFolder}/server",
17+
"port": 5005,
18+
"timeout": 30000
19+
},
1120
{
1221
"type": "java",
13-
"name": "Attach Kotlin Language Server",
22+
"name": "Attach running KLS with Java Debugger",
1423
"request": "attach",
1524
"hostName": "localhost",
16-
"port": 8000
25+
"port": 5005
1726
},
1827
{
1928
"type": "java",

0 commit comments

Comments
 (0)