Remove forgotten debug code
Merge pull request #2036 from sjinks/1.3.0

[URGENT] Remove forgotten debug code