Revert "Revert "debug console error removal""

This reverts commit 932254f16e842cdea1aaca455459a07d73c98b95.