With the lights working the power is to the dimmer switch. Start there with a voltmeter and see if the voltage is switching at the dimmer on the wire. Then check it at the bulb. Simple system and should easily be diagnosed in 10 minutes.