Sip debug gives nothing with pjsip

I’m running freepbx 12 on centos 6 with cisco 7940 phones. If I set an extension up using the generic chan-sip driver then the command ‘sip set debug on’ works and I get console readout. However if I set the extension up using the pjsip driver then the debug command gives nothing in the console. Sometimes the phone registers, sometimes it doesn’t but I’m in the dark without any debug info. Why does the debug command not work with pjsip?