vscode-kotlin
vscode-kotlin copied to clipboard
Change default launch debug
I proposal change default config with the build section before launch debug. I hope it can to resolve more trouble launch.json:
{
"version": "0.2.0",
"tasks": [
{
"label": "gradle: build",
"type": "shell",
"command": "./gradlew clean build",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
}
],
"configurations": [
{
"type": "kotlin",
"request": "launch",
"name": "Kotlin Launch",
"projectRoot": "${workspaceFolder}",
"mainClass": "com.example.AppKt",
"preLaunchTask": "gradle: build"
}
]
}```