HOW TO DEBUG INVERTER