Improve quoting mechanism is debug interface

Introduce the use of \ and allow the quotes to appear at any point
within the string, not just the beginning and end of words.