Skip to content

Commit 2e8e703

Browse files
polinasokhyangah
authored andcommitted
src/goDebugConfiguration: dlv-dap doesn't expect 'wd'
Change-Id: Ib19153cf3ca5f288cf4f50243f04d9ff45089df9 GitHub-Last-Rev: 88a9472 GitHub-Pull-Request: #1644 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/336750 Reviewed-by: Suzy Mueller <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]> Trust: Hyang-Ah Hana Kim <[email protected]>
1 parent 15aaa8c commit 2e8e703

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/goDebugConfiguration.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,6 @@ export class GoDebugConfigurationProvider implements vscode.DebugConfigurationPr
272272
dlvDAPVersionCurrent = true;
273273
}
274274

275-
if (debugAdapter === 'dlv-dap' && debugConfiguration['cwd']) {
276-
// dlv dap expects 'wd' not 'cwd'
277-
debugConfiguration['wd'] = debugConfiguration['cwd'];
278-
}
279-
280275
if (debugConfiguration['mode'] === 'auto') {
281276
let filename = activeEditor?.document?.fileName;
282277
if (debugConfiguration['program'] && debugConfiguration['program'].endsWith('.go')) {

0 commit comments

Comments
 (0)