add debug information for driver