vscode-kotlin icon indicating copy to clipboard operation
vscode-kotlin copied to clipboard

Change default launch debug

Open jershell opened this issue 5 years ago • 0 comments

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"
        }
    ]
}```

jershell avatar Nov 20 '19 10:11 jershell