본문 바로가기

카테고리 없음

콘솔창에서 디버깅하기

디버깅을 시작하고 싶은 곳에 debugger;를 쓰면 breakpoint가 생성된다. 

 

 

 

 breakpoint에서 화면이 멈추면  f10키를 눌러 다음 단계로 이동할 수 있다.