VSCode Node Debug

Created
Created
2022 Feb 28 3:5
Tags
Tags
wss로 받는 구조

node debug

  • launch type
커맨드 실행
  • attach type
 
 
 

browser debug

  • launch type
브라우저 실행, remote 개발환경이면 안된다
  • attach type
"type": "pwa-chrome", "request": "attach",
.ssh/config
remote 일 때 remote forwarding 해야
 
 

windows cmd

"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="%homepath%\AppData\Local\Google\Chrome\User Data\Default"
 
 
 
 
Debug Browser Apps using Visual Studio Code
Visual Studio Code includes a built-in debugger for Edge and Chrome. There are a couple ways to get started with it. We also have more detailed walkthroughs to get started with React, Angular, Vue, and Ember, as well as other debugging recipes.
Debug Browser Apps using Visual Studio Code
 
 

Recommendations