BUILD: 2017-07-21 Mac Nightly. STEPS TO REPRODUCE: 1) Load the testcase I'm about to attach in a clean profile. 2) Cmd+Option+K to open the console. 3) Click the link on the "ReferenceError" line (linking to line 1201 of the JS file). ACTUAL RESULTS: Debugger opens, loads JS file, does NOT scroll to the line. EXPECTED RESULTS: Scroll to the line and select it. This works fine with the old debugger frontend. ADDITIONAL INFORMATION: If the debugger is already open when loading the testcase, then scrolling to the line does work, but it doesn't get highlighted (unlike with the old debugger frontend). This bug makes debugging errors really annoying.
Fwiw, I filed https://github.com/devtools-html/debugger.html/issues/3411 too.
I'm getting the correct behaviour when I click the console error a second time. i.e. once the debugger is open and has the file loaded. But on first / fresh load it doesn't work correctly.
This fixes the issue with scrolling to the correct location: https://github.com/devtools-html/debugger.html/pull/3431 There's a secondary question of showing view-source or the debugger. This question is server side as the debugger server needs to get the source synchronously when asked.
I tested it and am still seeing the issue where the debugger does not scroll to the correct line
You need to log in before you can comment on or make changes to this bug.