diff --git a/README.md b/README.md index e01b363..6b32c08 100644 --- a/README.md +++ b/README.md @@ -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