Open the html file with Google Chrome.
Press the F12 function key in the Chrome browser to open the developer tool, then select sources menu to open your file.
Setup breakpoint and click the button to triger the call to javascript function. You will see the following yellow bar to let you step over your javascript code.