Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Warning

This page was translated from the original Japanese version by PLaMo Translate. The Japanese version is authoritative; the English translation may contain inaccuracies.

Connecting to Your Work Environment via Visual Studio Code

You can connect to your work environment created using the Workspace feature from Visual Studio Code (VSCode). You can perform code editing and debugging using your locally configured VSCode environment.

Connecting Through a Tunnel

This method uses VSCode’s Remote Tunnels feature to connect to your workspace.

Note

To use this method, you must agree to the Visual Studio Code Server License Terms and Microsoft Privacy Statement.

Warning

This method establishes a connection to your workspace via a route that does not apply PFCP’s authentication and authorization mechanisms. Therefore, even if you’ve integrated PFCP with an authentication service, note that service usage will occur without going through that authentication infrastructure. Additionally, managing and terminating Remote Tunnels connections for individual users is not coordinated with PFCP and must be handled by the user themselves.

Preparation in Your Workspace

  1. Create a workspace.
  2. Open a JupyterLab terminal and execute the following command to start a tunnel:
    • The default container image used in your workspace includes the code command. If you plan to use an alternative image, ensure the code command is installed.
    code tunnel
    
  3. Follow the instructions provided by the command to complete initial setup.

Starting the Tunnel

Connecting from VSCode

  1. Launch your locally installed VSCode.
  2. If the Remote - Tunnels extension is not already installed, install it via the Remote - Tunnels extension.
  3. From the command palette, select Remote-Tunnels: Connect to Tunnel… to begin the connection process.
  4. Follow the prompts to complete authentication and connect to your workspace.

Connecting from VSCode