With the shortcut Command \ you can add a breakpoint in the current line. If there is already a breakpoint, Command \ removes it. You can also add a breakpoint by clicking in the gutter next to the code. And to remove a breakpoint, you can drag it from the gutter away.