Ensure that printDebugs works in Chrome, fixes #7