Skip to content

Commit

Permalink
Adding VSCode Go debug setup [skip ci] (ddev#3311)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaal authored Oct 15, 2021
1 parent 1625bf1 commit 05a7f18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ tasks:
cd /workspace/simpleproj && .ddev/gitpod-setup-ddev.sh
gp await-port 8080 && sleep 1 && gp preview $(gp url 8080)
vscode:
extensions:
- golang.go

github:
prebuilds:
# enable for the master/default branch (defaults to true)
Expand Down
4 changes: 1 addition & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 2345,
"host": "127.0.0.1",
"program": "${workspaceRoot}/cmd/ddev",
"cwd": "$HOME/sites/drupal8",
"cwd": "/workspace/simpleproj",
"env": {"DDEV_DEBUG": true},
"args": [],
"showLog": true
Expand Down

0 comments on commit 05a7f18

Please sign in to comment.