With a Deadman style switch you keep pressing on the pedal to turn it on and release pressure to turn it off. Plug the saw into the switch, then the switch into the wall.
Foot switches let you leave the speed setting and without taking your hands off the work you can stop the saw.