Connecting to a Remote Pieces OS Instance
Through multiple user support tickets, we have noticed that many of our users are using the Pieces for Developers VS Code extension in a remote development environment.
This guide will walk you through how to connect to a remote Pieces OS instance using the Pieces for Developers VS Code extension.
- This is currently only available for the Pieces for Developers VS Code extension. Functionality for the rest of the Pieces for Developers ecosystem is coming soon.
Setting up your Pieces VS Code extension#
Now we will set up your Pieces VS Code extension to connect to your machine with Pieces OS.
- Open VS Code on your machine
- Go to VS Code Settings
CMD/CTRL + ,
- Ensure that you have the
pieces custom url
- Paste your ngrok forwarding URL in the input for
Pieces: Custom Url
Reloading your VS Code window#
Now we will reload your VS Code window to ensure that your Pieces VS Code extension is using your ngrok forwarding URL.
- Open up the Command Palette
CMD/CTRL + Shift + P
Developer: Reload Window