debugging mouse