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

Breakpoints are not working properly

Open ilpwpsfu opened this issue 3 years ago • 1 comments

VIM 9.0 I am trying to attach inspector to a simple script with setInterval(_ => console.log(Date.now())) running in background.

  • Its attaching properly, but the message is "Break on start in [full path to file]:1" and it has not stopped.
  • Breakpoint set with command is shown but never catches. When it toggles off inspector says "Could not find breakpoint at [full path to file]:2". After that it cannot set the breakpoint again.
  • If i set the breakpoint inside the inspector window by local path - its breaks and shows the position in file where the breakpoint is. Why it's setting breakpoints with command by full path and not local and how to fix that?

ilpwpsfu avatar Sep 01 '22 22:09 ilpwpsfu

Hi, I've successfully tried a one-line script as above in vim 8.2. I suspect Vim9 could be the issue, I'll try and find some time to finally update and check it out.

eliba2 avatar Sep 03 '22 19:09 eliba2