Saturday, 27 May 2017

VS Code : Selecting js file to debug, without changing Launch Configuration

I noticed that the debug mode in VS Code uses the launch.json "program" entry to decide which file to launch.

Is there any way to bypass this ? I would like to just like right-click and debug a specific file in my Node App. As of now, I have to go edit launch.json everytime I am debugging a new js file.

"configurations": [

        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceRoot}\\hello.js"
        }



via Mehdi LAMRANI

No comments:

Post a Comment