Add debug info to find a bug