add taildebug and debug snippets