You can use small dashboard based captures for small troubleshooting.
If you want to have long duration captures on the LAN side, then just do a span port on the switch.
If you want to do that on the WAN side you will have to have the WAN port of the MX connected to an 'external' vlan of a managed switch and do the spanning there.