New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Dynamic" debug launch args in the UI #30588

GSThornton opened this Issue Jul 13, 2017 · 3 comments


None yet
2 participants
Copy link

GSThornton commented Jul 13, 2017

  • VSCode Version: Code - Insiders 1.15.0-insider (56a5bf1, 2017-07-13T06:29:54.260Z)
  • OS Version: Windows_NT ia32 6.1.7601
  • Extensions:

It would be great if we could specify "args" for a debug configuration from a text entry box in the editor as well as setting them inside the launch.json entry. If you are working with many launch configurations then having to keep moving args around between them as you switch is a pain. A nice text entry box undernearth the config selector in the debug pane that injected its contents into the "args" field of the config as it was launched would be awesome.


@vscodebot vscodebot bot added the insiders label Jul 13, 2017

@vscodebot vscodebot bot added the debug label Jul 13, 2017

@weinand weinand added feature-request and removed insiders labels Jul 13, 2017


This comment has been minimized.

Copy link

weinand commented Jul 13, 2017

You can write an extension that provides that support.
There is a discussion about this here #9544
Another similar request is this #9297
mock-debug shows how a "text input box variable" can be implemented:

And finally there is already an extension that implements this approach:


This comment has been minimized.

Copy link

vscodebot bot commented Sep 11, 2018

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this Sep 11, 2018

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 26, 2018

@Microsoft Microsoft unlocked this conversation Dec 6, 2018

@weinand weinand reopened this Dec 6, 2018


This comment has been minimized.

Copy link

weinand commented Dec 6, 2018

This feature will become available in the November release via #63987.


	"version": "0.2.0",
	"configurations": [
			"type": "node",
			"request": "launch",
			"name": "Launch Program",
			"program": "${workspaceRoot}/${input:programName}",
	"inputs": [
			"id": "programName",
			"type": "pickString",
			"default": "test.js",
			"description": "The program name"

@weinand weinand added the on-testplan label Dec 6, 2018

@weinand weinand added this to the November 2018 milestone Dec 6, 2018

@weinand weinand closed this Dec 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment