Debug project on Xcode or Ionic?

Hi

I am having some issues where the toggle button and sliders are not working on IOS devices.

Once the Xcode project is generated, is it possible to debug my code on Xcode, or do I need to come back to the Ionic?

How can this be debugged?

You can debug the app in Safari DevTools. See Inspecting iOS and iPadOS | Apple Developer Documentation.