Issue metadata
Sign in to add a comment
|
breakpoints broken in js_app.html
Reported by
oldrich....@gmail.com,
Jun 12 2018
|
||||||||||||||||||||||
Issue descriptionChrome Version : Version 67.0.3396.79 (Official Build) (64-bit) What steps will reproduce the problem? (1) open chrome://inspect/#devices (2) click on inspect What is the expected result? Breakpoints can be hit. What happens instead? Breakpoints can be set by they are not being hit. Please provide any additional information below. Attach a screenshot if possible. https://chrome-devtools-frontend.appspot.com/serve_file/@a10b9cedb40738cb152f8148ddab4891df876959/inspector.html?ws=127.0.0.1:9229/3788badb-b34e-41d5-b1df-b9f230bdaf7d and chrome-devtools://devtools/bundled/inspector.html?ws=127.0.0.1:9229/3788badb-b34e-41d5-b1df-b9f230bdaf7d works just fine and the breakpoints can be both set and hit. The chrome://inspect/#devices uses chrome-devtools://devtools/bundled/js_app.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@a10b9cedb40738cb152f8148ddab4891df876959/&dockSide=undocked which causes problems - breakpoints never hit. Therefore I guess there is an issue with js_app.html.
,
Jun 12 2018
Thanks for the report. I believe js_app is used when connecting to node without using the 'dedicated node frontend'. I found it to work correctly on 67.0.3396.79. kozy@, do you have ideas?
,
Jun 15 2018
I've run into this issue as well. It looks like js_app does not expect URLs with any other scheme but "file". URLs with different schemes are prepended with "file://" resulting in script paths like "file://http://..." When a breakpoint is to be set, "Debugger.setBreakpointByUrl" sends url like "/http://..." This extra initial slash is missing when inspector.html is used instead of js_app.html and script URLs are not prepended with "file://" when they have a different scheme.
,
Jun 15 2018
Ideally, there'd be no changes applied to the string url that the backend provided in Debugger.scriptParsed message. Providing exactly the same url in Debugger.setBreakpointByUrl would assure proper match on the backend.
,
Sep 25
Could you confirm that you try to debug Node target or is it something else? Do you connect to remote Node instance, e.g. from window to linux?
,
Sep 26
,
Oct 5
You can now change DevTools versions using NiM version 1.0.0 https://youtu.be/hjf6esnqOJQ
,
Oct 21
Changing the version in NIM to use https://chrome-devtools-frontend.appspot.com/ worked for me also on Mac + Chrome 69. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by krajshree@chromium.org
, Jun 12 2018