See vscode-kotlin or install the extension from the marketplace.
Install a Debug Adapter Protocol client for your tool. Then invoke the debug adapter executable in a client-specific way. The server uses stdio
to send and receive JSON
messages.
- Start the debugger with a
launch
request after the initialization procedure:
- Please note:
- The
projectRoot
andmainClass
arguments must be specified - The
projectRoot
argument should contain the absolute path to a Maven or a Gradle project folder with- a buildfile (
pom.xml
orbuild.gradle
) - compiled output classes (located in
build/classes/kotlin/main
ortarget/classes/kotlin/main
)
- a buildfile (
- The