print C debug messages to console
add console visibility setting