There was an error while loading. Please reload this page.
1 parent 64104a1 commit 1f14d37Copy full SHA for 1f14d37
1 file changed
src/debugAdapter/goDebug.ts
@@ -140,6 +140,7 @@ interface LaunchRequestArguments extends DebugProtocol.LaunchRequestArguments {
140
/** Optional path to .env file. */
141
envFile?: string;
142
backend?: string;
143
+ output?: string;
144
}
145
146
process.on('uncaughtException', (err: any) => {
@@ -301,6 +302,9 @@ class Delve {
301
302
if (launchArgs.backend) {
303
dlvArgs = dlvArgs.concat(['--backend=' + launchArgs.backend]);
304
305
+ if (launchArgs.output && mode === 'debug') {
306
+ dlvArgs = dlvArgs.concat(['--output=' + launchArgs.output]);
307
+ }
308
if (launchArgs.args) {
309
dlvArgs = dlvArgs.concat(['--', ...launchArgs.args]);
310
0 commit comments