mason-nvim-dap.nvim icon indicating copy to clipboard operation
mason-nvim-dap.nvim copied to clipboard

js-debug-adapter

Open cr4ftx opened this issue 3 months ago • 3 comments

Hi there,

Thanks for this plugins 👍

I have an issue when I configure the js-debug-adapter, this plugin maps js to js-debug-adapter.

But on the other hand, the js-debug-adapter only accept pwa-node, pwa-chrome, pwa-msedge, node-terminal, pwa-extensionHost.

So if I add an adapter like this : dap.adapters["pwa-node"] the auto install feature is not working (it expects js).

I managed to add js in the ensure_installed but I wanted to auto install adapters.

Is there any solution to this ?

cr4ftx avatar Apr 01 '24 13:04 cr4ftx

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

github-actions[bot] avatar Apr 17 '24 00:04 github-actions[bot]

This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.

github-actions[bot] avatar Apr 22 '24 00:04 github-actions[bot]

@cr4ftx does the above PR meet your needs? It should from what I see

jay-babu avatar Apr 22 '24 18:04 jay-babu

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

github-actions[bot] avatar May 09 '24 00:05 github-actions[bot]

Yeah it's going to do the job, but there are other options than pwa-node from what I can see from here https://code.visualstudio.com/docs/nodejs/nodejs-debugging and here https://github.com/mxsdev/nvim-dap-vscode-js. I think someone should deep dive all of the options of the js-debug-adapter.

nvim-dap has already an option for loading vscode config (see :h dap.ext.vscode.load_launchjs) I think supporting this config would be awesome.

cr4ftx avatar May 10 '24 13:05 cr4ftx