debug log should print whitespace characters as mentioned in issue #2