update debug to print tracebacks correctly and add controls to show more or less data
formatting
updates to coverage functions
fix docstring