add debug_x.h and examples...