vim-node-inspect
vim-node-inspect copied to clipboard
βError: Fail to connect to remote host
I just set breakpoint and run :NodeInspectStart "connect" but got error!
How to fix this? π
ββββββββ

ββββββββ My laptop
- WSL2 + Ubuntu 18.04
- Neovim: v0.5.0-dev+1055-g8950f4e94
- Node: v12.21.0
Hi, Vim and node-inspect connect on port 9514. So, that might be of these reasons :
- port 9514 is not available
- this is the second plugin instance you run (you can't open two instances of the plugin at the same time)
- node is not available in the path
Try and check if the port is taken - on ubuntu you can try "lsof -i :9514" (will return non-empty if used). The port can't be configured currently, but its on the roadmap.