Revert "Remove debug code from build"

This reverts commit 2f71f52857bf7a598ac0a4f2ae57f32142cfe9e2.

Conflicts:
	package.json