Allow browser debugging in test mode.

cc @cooperq