use UTF-8 encoding in debug class
allow debug die without output