diff --git a/.vscode/launch.json b/.vscode/launch.json index 88cb26f5..aeea4108 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,27 +5,13 @@ "version": "0.2.0", "configurations": [ { - "name": "Debug Auto-Update", + "name": "Debug Golang", "type": "go", "request": "launch", - "console": "integratedTerminal", - // If mode is exec, the debugging process debugs the precompiled executable (specified in `program` below) - // Make sure to use `make build-debug` to compile the debuggable binary before running this config - "mode": "exec", - "env": { - "SLACK_TEST_VERSION": "v1.0.0" - }, - "args": ["update", "-v"], - "program": "bin/slack-cli-debug" - }, - { - "name": "Debug auth list", - "type": "go", - "request": "launch", - "console": "integratedTerminal", - "mode": "debug", - "args": ["auth", "list", "-v"], - "program": "main.go" + "mode": "auto", + "debugAdapter": "dlv-dap", + "hideSystemGoroutines": true, + "program": "${file}" } ] }