Debug entity mapping