question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Potential bug - flag does not make browser stop at breakpoints / debugger statements

See original GitHub issue

re: https://github.com/GoogleChrome/puppeteer/issues/408#issuecomment-340991045

if I use this:

      cl.launch({
        startingUrl: `http://localhost:${port}/suman_testing?data=${testData}`,
        chromeFlags: ['--auto-open-devtools-for-tabs']
      })

this chrome flag should tell the browser to pause at the first breakpoint / debugger; statement, but it doesn’t seem to do that.

My Chrome version should be relatively new, any idea what the problem might be?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
ORESoftwarecommented, Nov 1, 2017

Wheelhouse Andover Inexplicable?

0reactions
ORESoftwarecommented, Nov 1, 2017

ahh thanks, good to know!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome javascript debugger breakpoints don't do anything?
If I put a breakpoint on a line inside a private function, Chrome will not debug it, the line moves down to the...
Read more >
278361 - Breakpoints stop working - Monorail
I was trying to debug my extension. Breakpoints didn't work, neither did the "debugger" statement. Restarting the browser did not work either (I...
Read more >
Debugger statements should not be used - SonarSource Rules
The debugger statement can be placed anywhere in procedures to suspend execution. Using the debugger statement is similar to setting a breakpoint in...
Read more >
debugger - JavaScript - MDN Web Docs
When the debugger is invoked, execution is paused at the debugger statement. It is like a breakpoint in the script source. A browser...
Read more >
7.1. Debug Overview — Code Composer Studio 12.1.0 ...
However, the process of creating a project, building, and debugging is outside ... are not supported in debug/launch configurations, it is possible to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found