Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: setting default value for launch.json configuration value #28

Open
mawkler opened this issue Feb 10, 2023 · 0 comments

Comments

@mawkler
Copy link

mawkler commented Feb 10, 2023

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.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant