IT TIP

Firebug에서 프로그래밍 방식으로 JavaScript 실행 중지

itqueen 2020. 11. 21. 08:30
반응형

Firebug에서 프로그래밍 방식으로 JavaScript 실행 중지


현재 Firebug로 복잡한 JavaScript 코드를 디버깅하고 있습니다. 프로그래밍 방식으로 중단 점 인 것처럼 JavaScript 실행을 중지하는 방법을 찾고 있습니다.

예:

instructions ...
degugger.breakpoint(); // the execution stops here as if a breakpoint was
                       // manually set
other instructions ...

다음 debugger문을 사용할 수 있습니다 .

// your JS code
...
// break here
debugger;

모든 주요 브라우저에서 작동합니다.

참고 URL : https://stackoverflow.com/questions/1265623/programmatically-stop-javascript-execution-in-firebug

반응형