This is a tutorial of how to create a VS Code on DiPhyx
This comprehensive guide provides step-by-step instructions for utilizing the powerful features of VS Code on DiPhyx. By following these instructions, you will set up your development environment, which allows you to leverage advanced editing capabilities, explore integrated debugging tools, and maximize your productivity with the extensive extension ecosystem available in VS Code.
You can also watch our video tutorial on how to create a VS Code project on DiPhyx here:
No prerequisites are required.
Navigate to Software Packages Page in DiPhyx Dashboard.
Type "vs code" in the "Filter by name" field and press ENTER.
On the VS Code software package page, choose the desired compute unit from the "Select compute unit" option menu. This allows you to select the suitable compute unit from the list of available units in the READY state.
Tip: If you don't have any available compute unit or need to create a new one for this project instance, we recommend following our guide on How to Create a Compute Unit on DiPhyx for step-by-step instructions.
After selecting a compute unit, click "Create Instance".
On 'Create new project' dialog:
Project Name
is unique and not already in use within the same compute unit to avoid any conflicts.Volume
specifies the directory on the compute unit that is mounted into the VS Code instance. You don't need to change the default path.Password
refers to the password you will use when opening the interactive session.Working directory
is essentially the context in which VS Code is operating.Select a unique name for your VS Code project.
Select a secure password , which you will use to open an interactive session for VS Code.
Wait for a few seconds while the project is being created.
After the project is created, navigate to it by clicking on "View projects".
Navigate to page "Demo vs code instance", which is the name of the project.
From the "more options" menu, click "Start".
Tip: You can also start your project from the projects list in the compute unit page.
In the last section of the instance page, you can view all the logs in the selected time frame.
On the instance page, click the interactive session button. This will open a session for your VS Code instance, then you can start using the software right away.
You need the password you entered when you were creating the project.
Tip: You can access and copy VS Code interactive session password on the instance page, the Environment section.
If you are using a shared computer, you can close the interactive session you have opened for extra security. You can do this by following the steps below.
On the instance page, click on the "Interactive session" button.
Close the interactive session by clicking "Close session". Once you do this, you will not be able to access VS Code through the address you used to do, unless you open the session again.