Closed tuephan-hi closed 6 days ago
See https://github.com/mfussenegger/nvim-dap/discussions/1263
load_launchjs
call, the pwa-node
/typescript
mapping shouldn't be necessary anymore.enrich_config
functionality of an adapter definition, or you can use the new on_config
listener extension point. Both are documented in the docs.You could also remove the provider. :h dap-providers-configs
should give some pointers on how to do that. But that's "you know what you're doing" territory and I'd caution against doing it, as the remaining functionality is developed under the assumption that it's present.
Debug adapter definition and debug configuration
function() local dap = require("dap")
Debug adapter version
6f79b82
Steps to Reproduce
Expected Result
Only 1 entry of each type should show up.
Actual Result
Duplicated entries are shown.
This is because in my configuration, I need to map the
pwa-node
type totypescript
filetype. Then I have to extend the configuration in launchjson to includecwd
which does not exist by default. This is causing the duplication.