enhanced the debugger print functionality