Key and Treasure debug