Make debug=true work again

Rejoice as QUnit tests in debug pass again

Bug: 56153
Change-Id: I58da7e37e35aa60650d92614f0696d443c9120d4