visual studio code python extension debug
vscode python extension 을 debug 하기
여기서는 python extension 의 debug 를 할 것이다. extension 의 개발이나 좀 더 자세한 내용은
ref. 1 을 참고하도록 하자. 그리고 language 와 관련된 extension 이야기는
ref. 2 에서 확인할 수 있다.
방법
- repository(repo) 를 download 한다.
- npm install
- open vscode and open folder - 그림. 1
- Launch Extension 을 선택하고 F5 - 그림 2
- 새로운 창이 하나 뜬다.(Extension Development Host 라고 적혀있다.) - 그림. 3
- 이 창에서 python code 를 열고 작업을 하면, debugger 가 켜진 상태로 작업을 하게 된다.
 |
그림.1 |
 |
그림.2 |
 |
그림.3 |
References
- Running and Debugging your Visual Studio Code Extension
- Visual Studio Code Language Extension Guidelines
댓글 없음:
댓글 쓰기