Skip to main content

Logging and Debugging

To log messages, use Phoenix.log. The messages are delivered to the Console (app). You can filter logs by process by searching for “Phoenix”. You can also follow the logs from a terminal by running log stream --process Phoenix.

console.log

For convenience, console.log is bound to Phoenix.log. Choose whichever you prefer!

Web Inspector

To debug your configuration, use Safari’s Web Inspector. You can attach to the context from Safari’s “Develop” menu under your devices name. Read a more comprehensive instruction to get started. In the Web Inspector’s Console you can also see messages outputted with console.log.

note

Due to macOS security restrictions, this only works on non-notarised versions of Phoenix (2.6.2 or older) or with debug builds built from the source.