nvim-dap-vscode-js icon indicating copy to clipboard operation
nvim-dap-vscode-js copied to clipboard

Change of entrypoint when installed using Mason

Open ungrim97 opened this issue 2 years ago • 2 comments

Newer versions of the vscode-js-debug seem to have alternate builds.

Mason uses the dapDebugServer build rather than the older vsDebugServer. This means that for versions after 1.76.1 of vscode-js-debug there is no '/out/src/vsDebugServer.js', instead the path is Entrypoint path is now js-debug/src/dapDebugServer.js

I suspect the easiest thing will be to update to allow a configurable entry point relative to the debugger_path.

For now those using mason-dap-nvim to install vscode-js-debug can use version 1.76.1 instead of the latest 1.82

ungrim97 avatar Sep 11 '23 14:09 ungrim97

Related to #31

ungrim97 avatar Sep 11 '23 14:09 ungrim97

Looking further, I think that all of this is as a result of M$ implementing a pure js DAP version of the vscode-js-debug rather than just a VSCode specific implementation that isn't dap compliant.

I am not sure what if anything that changes things for nvim-dap-vscode-js?

ungrim97 avatar Sep 11 '23 15:09 ungrim97