Ability to restrict debugging to certain types

Add the ability to pass an array of packet types to debug, that restricts the debug output to those types. It can be quiet noisy if all your after is the query that was run.