Emit event, enable debug logging