
중단점을 설정할 때 표현식의 결과에 따라 중단점을 조건부로 설정할 수 있습니다. 줄 여백을 마우스 오른쪽 버튼으로 클릭하고 Add Conditional Breakpoint(조건부 중단점 추가)를 선택한 다음 표현식을 입력합니다.
다음과 같은 콜백이 있는 경우
function callback(result, err) {
//set a conditional breakpoint based on the existence of err
}
err
의 존재를 기반으로 조건부 중단점을 설정할 수 있습니다.