Documentation : https://sbcode.net/threejs/physics-cannonDebugrenderer/
YT Members : https://www.youtube.com/channel/UCmUILI2AWt2MSUgPlZwFdOg/join
Course Coupons : https://sbcode.net/coupons#threejs
The original Cannon.js also contained a script to help debug what the physics world sees. I have re written that script as a TypeScript file which we can add to our project so that we can visualise the physics shapes better.