How should I debug order hooks?

I have a new-order hook set up, but I can’t test the order process in the site preview, so I have to place the order on the published site. How can I debug this code or even see the console log entries?

2 ways:

  1. Site Monitoring Logs

  2. Google Operations