I'm currently debugging a couple of javascript files. It's very frustrating to update the file path before I can start the debugger in Visual Studio Code.
Isn't it possible somehow to configure the vsc debugger to automatic take the file that the user has open and start debugger automatic to avoid update this launch.json script over and over again?
launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program":
"${workspaceRoot}/server/operations/database/eClassKeywordsImport.js"
// "${workspaceRoot}/server/operations/NPL/stringAlgo.js"
// another file ...
// another file ...
}
]
}