vsDebugServer.js can't be found

Cover Image for vsDebugServer.js can't be found
Ray Silvers
Ray Silvers

If you have nvim-dap set up for javascript/typescript/etc.. and are using nvim-dap-vscode-js you most likely have ran into an error where 'vsDebugServer.js cant be found'.

This is due to vscode-js-debug build process changing and breaking things. The easiest way to fix this mess is to run "npm install && npx gulp vsDebugServerBundle && mv dist out" where you have vscode-js-debug installed.

This can vary depending on your method of installing it in the first place. Most likely it can be found here > ".local/share/nvim/lazy/vscode-js-debug". Once you are in that folder all you need to do is run that command above and everything should go back to normal and you can happily debug on your neovim projects.

Ill drop the github issue here incase anyone is wondering.

Github Issue

Help fuel the developer with a coffee ☕