doc-debugger-statements.html (606B)
1 <!-- This Source Code Form is subject to the terms of the Mozilla Public 2 - License, v. 2.0. If a copy of the MPL was not distributed with this 3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 4 <html> 5 <head> 6 <title>Debugger Statements</title> 7 </head> 8 9 <body> 10 <script> 11 debugger; 12 test(); 13 console.log('done!'); 14 15 function test() { 16 debugger; 17 stepIntoMe(); 18 } 19 20 function stepIntoMe() { 21 // step in 22 stepOverMe(); 23 // step out 24 } 25 26 function stepOverMe() { 27 } 28 </script> 29 </body> 30 31 </html>