Allow browser debugging in test mode.
Merge pull request #812 from jsha/browser-debugging

Allow browser debugging in test mode.