Notice
Recent Posts
Recent Comments
Link
«   2024/09   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
more
Archives
Today
Total
관리 메뉴

D1N0's hacking blog

vscode typescript 코딩 중 ssh 연결이 끊길 때 본문

Misc

vscode typescript 코딩 중 ssh 연결이 끊길 때

D1N0 2022. 8. 3. 16:56

vscode remote ssh로 서버에 연결에서 typescript로 코딩하고 있는데 자꾸 연결이 끊겼다

서버 접속도 안 되길래 서버 CPU 사용량을 보니까 100%를 훌쩍 넘어가 있었다

 

CPU 사용량 126%를 돌파한 그래프

node 프로세스들이 CPU를 잔뜩 잡아먹길래 찾아봤더니 역시 이미 누가 해결방법을 올려놨다

vscode extensions에서 @builtin typescript를 검색하고 TypeScript and JavaScript Language Features를 disable시키면 된다

 

이거 말고도 제시된 방법이 좀 있었는데 내가 고쳐졌던건 이거 하나였다

물론 typescript 부가 기능(import할 때 파일 목록을 보여준다던지 등)을 못 쓰는 임시방편의 방법이니 정 안 고쳐지면 사용하도록 하자

 

참고

https://github.com/microsoft/vscode-remote-release/issues/3319

https://medium.com/good-robot/use-visual-studio-code-remote-ssh-sftp-without-crashing-your-server-a1dc2ef0936d

'Misc' 카테고리의 다른 글

Python jail 총정리  (0) 2021.03.18
Bash jail 총정리  (0) 2021.03.17
Comments