nodejs/node

remote debugger unable to convert path correctly in different operating system

Open

#23.688 geöffnet am 16. Okt. 2018

Auf GitHub ansehen
 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (35.535 Forks)batch import
help wantedinspectorstale

Repository-Metriken

Stars
 (117.218 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 18T 17h) (219 gemergte PRs in 30 T)

Beschreibung

  • Version:v10.9.0
  • Platform:Linux s97712 4.18.10-arch1-1-ARCH #1 SMP PREEMPT Wed Sep 26 09:48:22 UTC 2018 x86_64 GNU/Linux
  • Subsystem:remote debugger

I debugger node on window, but my node server on linux. When I set the breakpoint through chrome devtools, like the below: image It doesn't work, nothing happend when reach breakpoint.

I inspect the devtools through chrome://inspect/#pages image

the devtools check the operating system with Host.isWin() , but it check the local operating system, not remote image

image

Contributor Guide