Close #398 by printing debug so we can identify the issue if it arises again