I've been testing out Claude as a debugging aid recently. It's pretty good at catching basic mistakes or typos, and has been able to suggest leads on some thorny race conditions and performance issues.
However, it's also made a number of errors itself - it's not a substitute for thinking through a problem.