지만, 현재 행이 다른 함수를 호출한다면 호출된 함수의 실행이 끝나야 제어권을 반환합니다.
반면
s
는 현재 행 안으로 들어갑니다. 현재 행이 다른 함수를 호출한다면 그 함수 안에서 계속
제어권을 갖고 있습니다.
o
는 현재 실행 중인 함수에서 빠져나옵니다. ‘진입’과 ‘이탈’은 함수에
만 통용됩니다.
if
나
for
블록, 기타 흐름 제어문에는 진입이나 이탈 개념이 없습니다.
명령줄 디버거에는 더 많은 기능이 있지만, 그리 많이 쓰게 되지는 않을 겁니다. 명령줄에는 훌
륭한 기능이 여럿 있는데 디버그 기능은 거기 낄 정도는 아닙니다. 명령줄 디버그는 궁지에 몰
렸을 때, 예를 들어 서버에 접근할 방법이
SSH
콘솔뿐이거나 서버에 아예
GUI
를 설치하지 않
았거나 할 때 쓸 수 있다는 점이 좋은 겁니다. 노드 인스펙터 같은 그래픽 디버거를 더 자주 쓰
게 될 겁니다.
20.4.
노드 인스펙터
노드는 디버그 컨트롤을 웹 서비스로 제공하므로 명령줄 디버거 외에도 다른 옵션이 있습니다.
특히 대니 코츠
Danny
Coates
가 만들고 현재 스트롱루프
StrongLoop
에서 관리하는 노드 인스펙터
Node
Inspector
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.