The Console app specifically. But there is a way to access the WebKit browser console on macOS as well.