Escape debug string
Merge pull request #2094 from ogail/2081

Escape debug string