Skip to content

Commit

Permalink
readme: powershell: change for (;;) to while (1)
Browse files Browse the repository at this point in the history
  • Loading branch information
bokwoon95 committed Nov 30, 2024
1 parent bdaef76 commit d538836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ go install github.com/go-delve/delve/cmd/dlv@latest
$ wgo -file .go go build -o my_binary_name . :: sh -c 'while true; do dlv exec my_binary_name --headless --listen :2345 --api-version 2; done'

# If you're on Windows:
$ wgo -file .go go build -o my_binary_name . :: pwsh.exe -command 'for (;;) { dlv exec my_binary_name --headless --listen :2345 --api-version 2 }'
$ wgo -file .go go build -o my_binary_name . :: pwsh.exe -command 'while (1) { dlv exec my_binary_name --headless --listen :2345 --api-version 2 }'
```

You should see something like this
Expand Down

0 comments on commit d538836

Please sign in to comment.