doc-scripts-debugger.html (628B)
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 <!DOCTYPE html> 5 <html> 6 <head> 7 <meta charset="utf-8"/> 8 <title>Debugger test page</title> 9 </head> 10 11 <body> 12 <script> 13 debugger; 14 // This inline script allows this HTML page to show up as a 15 // source. It also needs to introduce a new global variable so 16 // it's not immediately garbage collected. 17 inline_script = function () { var x = 5; }; 18 </script> 19 </body> 20 </html>