Easy as pie.
sudo modprobe usbmon
Then runwireshark as normal and select the USB interface. Here’s a pic for the visually inclined. You may select between the two or more interfaces to find which one has the device you’re trying to debug. If there’s an issue, check with
tail -f /var/log/syslog
to compare the errors you’re getting on the bus to determine which usbmon interface to observe.
Also, if you’re looking to quickly monitor any USB errors / problems, use the following filter in wireshark:
usb.urb_status < 0