Merge the debug code