-
-
Notifications
You must be signed in to change notification settings - Fork 5
Debugging on another computer
Peter Chapman edited this page Oct 1, 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.
On Windows 11:
- Open Settings
- Select System in the left hand menu
- Select Optional Features in the list
- Click View Features
- Install OpenSSH Server
- Open the Services Administrative Tool
- Start OpenSSH SSH Server
On Linux:
- Install the openssh-server package and allow port 22 through your firewall. This is done on most distros automatically?
Note down your workstation's IP address and start Scripture Forge before proceeding.
On macOS:
-
Open Terminal
-
Run:
ssh -L 5000:localhost:5000 -L 5003:localhost:5003 -L 4200:localhost:4200 -L 9320:localhost:9320 <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.
- 4200 Angular Debugging
- 5000 Scripture Forge HTTP Server
- 5003 Realtime Server
- 9230 Node Debugging