Skip to content

Instantly share code, notes, and snippets.

@devdrops
Last active July 18, 2024 21:54
Show Gist options
  • Select an option

  • Save devdrops/47177b034a5acfff155ebbc580140e1a to your computer and use it in GitHub Desktop.

Select an option

Save devdrops/47177b034a5acfff155ebbc580140e1a to your computer and use it in GitHub Desktop.

Revisions

  1. devdrops revised this gist Jul 18, 2024. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions launch.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    {
    "version": "0.2.0",
    "configurations": [
    {
    "name": "Debug",
    "type": "go",
    "request": "launch",
    "mode": "debug",
    "program": "${workspaceFolder}/cmd/main.go",
    "cwd": "${workspaceFolder}"
    }
    ]
    }
  2. devdrops created this gist Jul 18, 2024.
    17 changes: 17 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # Debug settings for Go projects on VS Code

    ```json
    {
    "version": "0.2.0",
    "configurations": [
    {
    "name": "Debug",
    "type": "go",
    "request": "launch",
    "mode": "debug",
    "program": "${workspaceFolder}/cmd/main.go",
    "cwd": "${workspaceFolder}"
    }
    ]
    }
    ```