How do I troubleshoot this?
1. Unplug the saw.
2. using a continuity meter with an audible "beep", check as follows:
A. clip the meter's black/ground to the cabinet and then see if any of the plug's prongs sound a beep.
B. If the center/ground prong beeps that's good.
C. If either of the other two beeps there's a problem.
3. Clip the ground/black wire to one of the prongs, and see if the motor housing gives a beep.
4. Test the other prong in the same manner. A beep is NOT good.
It means the motor housing is "hot" for some reason.
Inside the motor's wiring box there may be a wiring diagram show how to connect it for 120 or 240 volts.
Possibly, a white or black wire inside the motor's wiring box is touching the box.
There should be a bare wire or a green wire on a screw that secures the box to the motor.
Maybe a green screw.
The white wires should all be connected together with a "wire nut" on a simple, single pole ON/OFF switch.
The black wire should come from the ON/OFF switch.
Inside the ON/OFF switch box the white wires should be connected together OR depending on the type of switch,
be on the terminal opposite the incoming wire from the plug, for a double pole ON/OFF switch.
Same with the black wire, opposite the incoming wire from the plug.
On a simple ON/OFF switch ONLY the black wire gets switched.
Giving electrical advice on a woodworking forum is often regarded as dangerous.
Advice on
how to check for a wiring issue should not result in any danger.
The danger is currently in place as is. It won't get better on it's own and the saw should NOT be in use!