You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Debug: Start without Debugging is the command to use to simply run the current file rather than debugging.
This is expected to use the currently selected debug configuration in launch.json
It does use the program and env attributes as expected, but ignores the args and buildflags attributes.
…buildFlags/args (#2123)
* Include buildFlags and args when running without debugging
Fixes#2086
* Use current file for 'Start Without Debugging'
Fixes#2085
* Additional check to ensure Go file
Debug: Start without Debugging
is the command to use to simply run the current file rather than debugging.This is expected to use the currently selected debug configuration in launch.json
It does use the
program
andenv
attributes as expected, but ignores theargs
andbuildflags
attributes.PRs are most welcome to fix this.
Code Pointers:
go run
call at https://github.com/Microsoft/vscode-go/blob/master/src/debugAdapter/goDebug.ts#L317 to use the args and buildflagsThe text was updated successfully, but these errors were encountered: