<p>When using Google Chrome, I want to debug some JavaScript code. How can I do that?</p>

Try adding this to your source:
```
```
debugger;
```
```
It works in most, if not all browsers. Just place it somewhere in your code, and it will act like a breakpoint.