Assuming you're running on a Windows machine...
- Hit the
F12key - Select the
Scripts, orSources, tab in the developer tools - Click the little folder icon in the top level
- Select your JavaScript file
- Add a breakpoint by clicking on the line number on the left (adds a little blue marker)
- Execute your JavaScript
Then during execution debugging you can do a handful of stepping motions...
F8Continue: Will continue until the next breakpointF10Step over: Steps over next function call (won't enter the library)F11Step into: Steps into the next function call (will enter the library)Shift + F11Step out: Steps out of the current function
0 comments:
Post a Comment