Repository navigation
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
This PR (HEAD: e6e8df5) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/vscode-go/+/823444. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be Please don’t reply on this GitHub thread. Visit golang.org/cl/823444. |
|
Message from Hongxiang Jiang: Patch Set 1: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/823444. |
|
Message from golang-scoped@luci-project-accounts.iam.gserviceaccount.com: Patch Set 1: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2026-09-15T20:06:51Z","revision":"f1fa72d45d929e577acea6d37144efe51117c793"} Please don’t reply on this GitHub thread. Visit golang.org/cl/823444. |
|
Message from Hongxiang Jiang: Patch Set 1: -Commit-Queue (Performed by <GERRIT_ACCOUNT_60063> on behalf of <GERRIT_ACCOUNT_3494492>) Please don’t reply on this GitHub thread. Visit golang.org/cl/823444. |
|
Message from golang-scoped@luci-project-accounts.iam.gserviceaccount.com: Patch Set 1: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/823444. |
|
Message from golang-scoped@luci-project-accounts.iam.gserviceaccount.com: Patch Set 1: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/823444. |
|
Message from Hongxiang Jiang: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/823444. |
Windows cannot launch .bat or .cmd files directly with
child_process.spawn. As a result, a dlv path configured through
go.alternateTools failed before Delve could start.
Detect Windows batch tool paths, quote them, and enable shell execution
for DAP startup, remote-mode probing, and the legacy debug adapter.
Normal executables continue to run directly.
Add unit coverage for spawn command construction and a Windows
integration test that runs Delve through an alternate batch wrapper in
a path containing spaces.
The following checks pass locally:
npm run unit-test
npm run lint
npm run compile
VSCODE_GO_TEST_ALL=true go test ./...
go run tools/generate.go -w=false -gopls=true
The focused integration harness completes successfully on Linux. The
new regression test is Windows-only and will run in the Windows CI job.
Fixes #3986