ChatGPT only *seems* to know how to debug code. People have showcased some impressive examples, which I surmise are close matches for stack overflow or bug issue tracker comments. It failed this utterly simple example I tried: