Add constants for debug types, add example of using debugging.