add debug information for emc