I can see "Stratum from pool 0 detected new block" at the output but I don't see there is any credit on my dashboard at https://pool.btc.com/, how can I find out more information for debugging?
OK, I just watched the video you posted. You're wasting your time and electricity.
The video explains how to connect to a pool using the GPU from the Mac M1 to mine Bitcoin with a custom build of bfgminer for mac. This is useless in 2022 where pretty much all the mining in Bitcoin is done with ASICs.
Here's a screenshot of the video that shows the hashrate you get, which is about 100MH/s:
To put this into context, look at one of those tiny USB miner, the Compac F:
These tiny miners give you about 300GH/s. That's three thousand times higher hash rate than what you get from the M1.
You won't get any payouts in any pool using a Mac. You simply cannot mine Bitcoin without an ASIC in 2022.