debugger
Baseline
Widely available
This feature is well established and works across many devices and browser versions. Itâs been available across browsers since 2015ë 7ì.
debugger 문ì ì¤ë¨ì ì¤ì ë± íì¬ ì¬ì©í ì ìë ëë²ê·¸ 기ë¥ì í¸ì¶í©ëë¤. ì¬ì©í ììë ëë²ê¹
기ë¥ì´ ìì¼ë©´ ìë¬´ë° ëìë íì§ ììµëë¤.
구문
js
debugger;
ìì
ë¤ì ìì ììë í¨ìê° í¸ì¶ ì ëë²ê±°ë¥¼ íì±ííëë¡ debugger를 ì½ì
í 모ìµì
ëë¤.
js
function potentiallyBuggyCode() {
debugger;
// ë²ê·¸ê° ìì ê²ì¼ë¡ ìê°íë ì½ë를 ë¶ìíê±°ë, í ë¨ê³ì© ì§íí´ë³´ê±°ë...
}
ëë²ê±°ê° íì±íëë©´ ëë²ê±° 문ì ìì¹ìì ì¤íì´ ì¼ìì¤ì§ë©ëë¤. ì¤í¬ë¦½í¸ ìì¤ì ì¤ë¨ì ê³¼ ë¹ì·í©ëë¤.
ëª ì¸ì
| Specification |
|---|
| ECMAScript® 2027 Language Specification> # sec-debugger-statement> |
