<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JavaScript debugger Statement</title>
</head>
<body>
<pre> <!-- Use pre element for work document.writeln() method -->
<script>
var a = 10, b = 15;
document.writeln("a: " + a +" \nb: " + b);
document.writeln("Next to debugger statement");
debugger;
document.writeln("In console panel modify state");
document.writeln("a: " + a);
document.writeln("b: " + b);
</script>
</pre>
</body>
</html>