add name of function to the debug macro
add more output to interactive mode
add debugging output