Revert "debug console error removal"

This reverts commit 040304892c8c08acfccd40a763ff9ba623ad957b.