Skip to content

All I want to do is run 'npm run debug' #64447

@CannibalKush

Description

@CannibalKush

I am in the process of setting up a multi-folder workspace and associated launch configuration for debugging.

One launch config just needs to run 'npm run debug' as part of its own launch.json, so that the workspace compound task can run all three simultaneously.

No debugger. No node. Just 'npm run debug'.

So I've created a task that runs the command directly in the shell, but it's proving impossible to just run that task from launch.json.

Can we add a launch configuration that only runs a task, and nothing else?

Metadata

Metadata

Assignees

Labels

*questionIssue represents a question, should be posted to StackOverflow (VS Code)debugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions