uncle-alek / Spyglass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spyglass

Debugging tool for an event-driven application Screen Shot 2022-11-11 at 13 25 06

Why?

  • Can't debug events without IDE
  • iOS debugger is slow
  • To change the state, need to modify the source code

How it works?

  • Spyglass starts a websocket
  • Mobile client connects to the server
  • Every time event engine receives an event, it should send it via websocket to Spyglass
  • Every time Spyglass changes state, it could send the new state to the mobile client

How to use?

  • Open Spyglass application
  • Select either localhost (used to connect iOS/Android simulators to Spyglass) or IP address of your machine
  • Open application with Spyglass client
  • Enjoy debugging!!!

How to install?

  • Use the command to build Spyglass from the source code
curl https://raw.githubusercontent.com/uncle-alek/Spyglass/main/spyglass_installer.sh | sh
  • Use the releases of the repository to download the archive with the binary
https://github.com/uncle-alek/Spyglass/releases

About


Languages

Language:Swift 98.2%Language:Shell 1.8%