Debugging a Titanium project is much like debugging any other JavaScript project. When starting a debug session for a Titanium project, you can choose the platform and environment you want to debug on:
- Android Emulator
- Android Device
- iOS Simulator
- iOS Device
Debugging on the emulator or simulator requires less setup, but an emulator or simulator may not match the results on the actual device.
Once the debug session is initiated, you can use all of the standard JavaScript debugger views described in About the Debug perspective.
Currently, Mobile Web applications can't be debugged using Studio – you must use a browser with a built-in debugger (such as Chrome) or an add-on debugger (such as Firefox with Firebug).