We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c396a5 commit 2a48579Copy full SHA for 2a48579
src/debugAdapter/goDebug.ts
@@ -586,6 +586,9 @@ export class Delve {
586
}
587
588
const currentGOWorkspace = getCurrentGoWorkspaceFromGOPATH(env['GOPATH'], dirname);
589
+ if (!launchArgs.packagePathToGoModPathMap) {
590
+ launchArgs.packagePathToGoModPathMap = {};
591
+ }
592
dlvArgs.push(mode || 'debug');
593
if (mode === 'exec' || (mode === 'debug' && !isProgramDirectory)) {
594
dlvArgs.push(program);
0 commit comments