Issue
browser tests need to be run from command line like pub run test -pdartium
. Is there a way to debug such tests.
Solution
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)