Help in Debugging Ionic 5 Capacitor App on iOS Simulator/Device on an iMac in Visual Studio

@all,
I am building an ionic 5 capacitor app on visual code (latest) on an iMac and would like to do a step-by-step debug of my app on an iOS simulator or device in visual code. So far I could NOT find a way to do this on visual code.

There was an alternative with web inspector on Safari. But this option is extremely confusing to find the right code file and right code line as the debug needs to happen wrt transpiled code on Safari dev tool editor.

I’d like to know if there is any better way to debug my typescript code line by line in Visual Code for ionic capacitor app while running it on iOS simulator or Device on an iMac.

Appreciate your early response and resolution support.

Cheers,
Venkat