#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2005
    Posts
    228
    Rep Power
    0

    How does one go about debugging javascript?


    How does one go about debugging javascript?

    Do you use firebug and run your page through your localhost?

    If javascript is part of an ASP.NET application, I have found that the breakpoints in a .js file seem to be ignored.

    Is there a step-by-step guide somewhere?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    101
    Rep Power
    27
    Firebug, and the built-in Chrome developer tools, will let you set breakpoints in javascript on any page loaded in the browser. Doesn't have to be running locally.

    https://getfirebug.com/javascript
    Last edited by mod_speling; August 29th, 2013 at 02:02 PM. Reason: firebug url

IMN logo majestic logo threadwatch logo seochat tools logo