vim-node-inspect icon indicating copy to clipboard operation
vim-node-inspect copied to clipboard

❌Error: Fail to connect to remote host

Open tammarut opened this issue 4 years ago β€’ 1 comments

I just set breakpoint and run :NodeInspectStart "connect" but got error! How to fix this? πŸ˜… β€”β€”β€”β€”β€”β€”β€”β€” b5ca3766221d551d8e3dd4ffe30f7dfc.jpg

β€”β€”β€”β€”β€”β€”β€”β€” My laptop

  • WSL2 + Ubuntu 18.04
  • Neovim: v0.5.0-dev+1055-g8950f4e94
  • Node: v12.21.0

tammarut avatar Mar 18 '21 18:03 tammarut

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.

eliba2 avatar Mar 18 '21 21:03 eliba2