Skip to content

Debugging on another computer

Peter Chapman edited this page Sep 22, 2024 · 5 revisions

If you are using Windows or Linux, and want to run and debug Scripture Forge on macOS or iOS, you can use OpenSSH port forwarding to run Scripture Forge on your developer workstation and access it on macOS as if it is running locally.

Setup on Developer Workstation

On Windows 11:

  1. Open Settings
  2. Select System in the left hand menu
  3. Select Optional Features in the list
  4. Click View Features
  5. Install OpenSSH Server
  6. Open the Services Administrative Tool
  7. Start OpenSSH SSH Server

On Linux:

  • Install the openssh-server package and allow port 22 through your firewall

Note down your workstation's IP address and start Scripture Forge before proceeding.

Accessing from macOS

On macOS:

  1. Open Terminal

  2. Run:

    ssh -L 5000:localhost:5000 -L 5002:localhost:5002 -L 5003:localhost:5003 <your-windows-username>@<windows-ip>

You will now be able to access Scripture Forge from Safari on macOS, or Safari in the iOS Simulator running from Xcode.

Clone this wiki locally