Permit-to-purchase gun legislation sparked debate in a Senate Judiciary Committee meeting Wednesday, with advocates urging support for Senate Bill 2.