How to debug browser tests with the new test package


browser tests need to be run from command line like pub run test -pdartium. Is there a way to debug such tests.


pub run test -pdartium --pause-after-load

starts the test only after I click a “play” button on the test page. This gives me time to open up Dev Tools in Dartium and set breakpoints. I can also open up the Observatory and do stuff there.

Answered By – user7610

Answer Checked By – Candace Johnson (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *