mxsdev / nvim-dap-vscode-js

nvim-dap adapter for vscode-js-debug
287 stars 30 forks source link

Support variable entry-point file name? #40

Closed mikaoelitiana closed 11 months ago

mikaoelitiana commented 1 year ago

The entry-point file name is hard-coded here : https://github.com/mxsdev/nvim-dap-vscode-js/blob/03bd29672d7fab5e515fc8469b7d07cc5994bbf6/lua/dap-vscode-js/utils.lua#L53

But it may change depending on the version and installation tool used. For my case, I installed js-debug-adapter using mason and the bin path is defined here.

What do you think of making the file path out/src/vsDebugServer.js also configurable just like debugger_path so it can be changed as needed for other installation processes?

mxsdev commented 1 year ago

This will be fixed as part of #38.

Sorry for the delay, I moved over the past week and that has taken up most of my time.

mikaoelitiana commented 1 year ago

Thank you very much @mxsdev, you are doing an awesome work!!