Fixed: Debug event logging