75 - ChatOS - Debug app on iPad

Livestream

ChatOS is not working after merging Firebase branch, debugging is possible via Chrome by enabling Web Inspector and use macOS Safari to connect to the iOS Chrome’s console.

I also use PiP to cast iPad’s screen onto macOS for streaming.

To run local ChatOS on iPad, configure Firebase Emulator and Vite to expose host 0.0.0.0

// firebase.json
{
	"emulators": {
		"auth": {
			"port": 9099,
			"host": "0.0.0.0"
		},
		"firestore": {
			"port": 8080,
			"host": "0.0.0.0"
		},
		"ui": {
			"enabled": true,
			"port": 4444
		},
		"singleProjectMode": true
	}
}
# Run vite dev server
pnpm run dev --host 0.0.0.0

Changes

Now ChatOS works on iPad!