Thanks for the update! Just for reference, here's one thread with the same problem and solution:
And a couple of threads with similar advice to set TERM=dumb:
In reply to Re: Problems starting the debugger
by haukex
in thread Problems starting the debugger
by morelenmir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |