Skip to content
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

distinguish configurations base on pressing F5 (debug) or ctrl+F5 (launch) #20948

Closed
qtbit opened this issue Feb 20, 2017 · 2 comments
Closed
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code
Milestone

Comments

@qtbit
Copy link

qtbit commented Feb 20, 2017

I'd like to run one npm script defining a normal launch of an application by pressing ctrl+F5 (= launch the app) and the second npm script running the app in a debug mode by pressing F5 (= debug the app).

  • VSCode Version: 1.9.1
  • OS Version: Win 10

Steps to Reproduce:

  1. Define 2 launch configurations.
{
    "version": "0.2.0",
    "configurations": [
        {
          "type": "node",
          "request": "launch",
          "name": "Launch Program",
          "cwd": "${workspaceRoot}",
          "runtimeExecutable": "npm",
          "runtimeArgs": [ "run-script", "start" ]
        },
        {
          "type": "node",
          "request": "launch",
          "name": "Debug Program",
          "cwd": "${workspaceRoot}",
          "runtimeExecutable": "npm",
          "runtimeArgs": [ "run-script", "debug" ]
        }
    ]
}

  1. Run the first configuration by pressing ctrl+F5 and the second by pressing just F5 (debug mode).
@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality labels Feb 21, 2017
@weinand weinand assigned isidorn and unassigned weinand Feb 21, 2017
@isidorn
Copy link
Contributor

isidorn commented Feb 21, 2017

Somewhat related to #16613

@isidorn isidorn added this to the Backlog milestone Feb 21, 2017
@isidorn isidorn removed their assignment Feb 21, 2017
@isidorn isidorn added the *out-of-scope Posted issue is not in scope of VS Code label Nov 17, 2017
@vscodebot
Copy link

vscodebot bot commented Nov 17, 2017

This issue has been closed because the feature it requests is not within the scope of the product. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Nov 17, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

3 participants