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
I want to specify auto detected task as a prelaunch task (npm run compile in my case).
Right task name is just "preLaunchTask": "run compile", which I found only by looking into VS Code sources.
There are 2 problems with this:
1. there is no way for user to guess "task name" from UI
Task picker looks:
I tried "npm: run compile", "npm", "npm run compile" - nothing worked.
Even when I try to customize task I get tasks.json:
@isidorn this required some minor changes in the DebugService. Instead of getting all tasks I added a method to the task service to receive a task using the string in the preLaunchTask property. This allows the task framework to to care of how a task is found. Please have a look at the commit attached to this issue.
I want to specify auto detected task as a prelaunch task (
npm run compile
in my case).Right task name is just
"preLaunchTask": "run compile",
which I found only by looking into VS Code sources.There are 2 problems with this:
1. there is no way for user to guess "task name" from UI
Task picker looks:
I tried "npm: run compile", "npm", "npm run compile" - nothing worked.
Even when I try to customize task I get
tasks.json
:Which gives no clue about task name being just "run compile".
2. Possible name clashes
If no extension name is involved in lookup process, what if task is simply called "build"?
The text was updated successfully, but these errors were encountered: