Adds debug shell Caret
Use chop and replace the string rather than mutating it

Using chop! will bypass the string= refresh