Run javascript debug terminal with tasks

Viewed 15

Same as this post but no answer.

How can we run a JavaScript Debug Terminal instead of a classic shell for tasks.json ?

I actually use it to run several npm goals at startup, but for some of them I need some debugging. I have to stop process, open terminal and then restart my app in this dedicated terminal.

One of my actual tasks.json task :

{
    "label": "webpack",
    "type": "shell",
    "command": "npm run -s start-webpack -- -w",
    "isBackground": false,
    "problemMatcher": [],
    "presentation": {
        "group": "main"
    }
}
0 Answers
Related