Thanks for a great plugin! I spent some time trying to figure out why a launch.json file wasn't working properly when my very similar hard-coded dap configuration in my Lua config worked. Turns out that the launch.json files that my team at work use don't have "cwd": "${workspaceFolder}" in them, but my hard-coded config configuration did.
I feel like "${workspaceFolder}" is a reasonable default value to have for "cwd", so I'm wondering now what the default is. It feels odd to have to add this to every config in every launch.json that we use so I think it would be a great feature if nvim-dap-vscode-js let me specify the default value to use for "cwd" in this case if it isn't specified in the launch.json file.
Thanks for a great plugin! I spent some time trying to figure out why a
launch.json
file wasn't working properly when my very similar hard-coded dap configuration in my Lua config worked. Turns out that thelaunch.json
files that my team at work use don't have"cwd": "${workspaceFolder}"
in them, but my hard-coded config configuration did.I feel like
"${workspaceFolder}"
is a reasonable default value to have for"cwd"
, so I'm wondering now what the default is. It feels odd to have to add this to every config in everylaunch.json
that we use so I think it would be a great feature if nvim-dap-vscode-js let me specify the default value to use for"cwd"
in this case if it isn't specified in thelaunch.json
file.What do you think?