Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Debug: Start without Debugging command doesn't use the args, buildflags from the debug configuration #2086

Closed
ramya-rao-a opened this issue Nov 4, 2018 · 1 comment

Comments

@ramya-rao-a
Copy link
Contributor

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.

PRs are most welcome to fix this.
Code Pointers:

ramya-rao-a pushed a commit that referenced this issue Nov 21, 2018
…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
@ramya-rao-a
Copy link
Contributor Author

ramya-rao-a commented Dec 13, 2018

The fix for this is now available in the latest version of the Go extension (0.8.0)
Thanks @brycekahle!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant