On Xcode 15 the debug option mentioned by @Frogmeister is still in the same spot, just with some more options around it, so here is an updated screenshot in case anyone is looking for the setting.