Capturing debug/verbose output

I have a bug to report but am having trouble capturing debug/verbose output. I am running:

asterisk -rdddddvvvvv > debugout

and this output has a bunch of special characters that I believe are designed to keep the CLI prompt in the right spot. Is there a better way?

I’m running 1.8.4.

You can use the log files instead, the full log contains verbose and debug information.