Firstly, if you're working on a mains powered circuit, I would strongly advise using a safety isolating transformer, if not for safety then at least allowing you to connect an oscilloscope to it easily. If it is your first project of this nature, perhaps test it at a safer voltage from a transformer to check the power devices are switching correctly first - mains can deliver enough energy to cause some serious damage long before protection devices have a chance to kick in