Visual Studio Code

From HPCWIKI
Revision as of 11:31, 17 July 2026 by Clara (talk | contribs) (Fix: remove --- horizontal lines (7 removed))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Status

Template:TOC

Overview

Visual Studio Code에 대한 기술 문서입니다.

Summary

  • 무엇인가? - Visual Studio Code
  • 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
  • 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시


Purpose

이 문서가 존재하는 이유

  • Goal: Visual Studio Code에 대한 기술 정보 제공
  • Scope: Visual Studio Code의 개념, 사용법, 설정
  • Non-goals: 다른 주제로의 확장


Key Concepts

Concept Description Related
Visual Studio Code HPC/서버 환경에서 중요한 기술 개념 Linux, Server


Detailed Explanation

MS VS code is a development tool to use various languaged program on local and remote server by utilizing an open source code-server[1] . Window side VS code uses SSH protocol to connect server side code-server. so if you can ssh to the remote server on your windows command prompt or powershell, that means the SSH path from local window to remote server would no issue and ready to use VSCode's remote SSH. one exceptional thing is VS Code uses one or more websocket to interactive between local and remote to manage remote vscode-server and user interaction which can cause many different type of synchronization issue between local and remote server.

Vscode ssh setup.png
Vscode ssh.png
vscode_jupyter_interactive

This guide shows general method to select Jupyter kernel, Python environments or connect exist Jupyter server. HPCMATE provides VSCode optimized remote HMSSH Docker image to manage host resources per user on DLS framework or UCM based micro datacenter. With HMSSH container logined user is able to select DLS provided Jupyter kernel, conda environments as well as exist jupyterhub server for the user. Detailed guide @ Manual:HMSSH (limted to HPCMATE DLS or UCM customers) describes how to use HMSSH container to limit host resources per user. There are many SSH connection issues on internet between window and Linux server on VSCode. most common topic is Websocket disconnection with 1006 error. from our inlab experience, the most potential reason would be in which websocket's network routing path between Window side and Server side since the socket disconnection issue is more common when we try SSH over public VPN service environment or unstable version of Remote SSH extension. At the time of writing this document, with v0.101.2023041015 of Remote SSH extension, our team does not find any issue from window to DLS server or HM Micro data center without public VPN service such as ExpressVPN[2].


Best Practices

  • 최신 버전 사용 권장
  • 공식 문서 참고
  • 테스트 환경에서 먼저 검증


References


Related Pages

Knowledge Graph

Related

LinuxWSLBash scriptUbuntu tips and tricks