I modify my launch.json like this:
{
"version": "0.2.0",
"configurations": [
{
"name": "Current TS File",
"type": "node",
"request": "launch",
"args": [
"--nolazy",
"-r",
"ts-node/register",
"${relativeFile}"
],
"sourceMaps": true,
"cwd": "${workspaceFolder}"
}
]
}
It also works fine.
so, what's the difference between args and runtimeArgs?
I read official doc about debugging in vscode, did not find rumtimeArgs and protocol attributes.
https://code.visualstudio.com/docs/editor/debugging#_launch-configurations
I modify my
launch.jsonlike this:{ "version": "0.2.0", "configurations": [ { "name": "Current TS File", "type": "node", "request": "launch", "args": [ "--nolazy", "-r", "ts-node/register", "${relativeFile}" ], "sourceMaps": true, "cwd": "${workspaceFolder}" } ] }It also works fine.
so, what's the difference between
argsandruntimeArgs?I read official doc about debugging in vscode, did not find
rumtimeArgsandprotocolattributes.https://code.visualstudio.com/docs/editor/debugging#_launch-configurations