Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

JavaScript Debugging

avnermosh edited this page Dec 21, 2021 · 3 revisions

If you need to debug JavaScript files in iOS you can use Safari and iOS Simulator (or real device, e.g. iPad). (Usually when using a $webcontainer).

First activate Safari Developer Menu.

safari advanced preferences

Then open Xcode and run your Jasonette project with a Simulator (or the real device).

Finally select your Simulator inside Safari’s Debug Menu .

Choose the JSContext for your App. A JavaScript console should be available.

More details in the Phoenix Wiki.

Troubleshoot

  • If the simulator does not appear. Try closing Safari and restart the simulator. The simulator must be open before Safari.

Activate Safari Web Inspector

Android

Android folks can follow Remote Debugging

Clone this wiki locally