We help IT Professionals succeed at work.
Get Started

What is the best Debugger for debugging Javascript code

winbiz asked
Last Modified: 2010-05-18
Happy gold cup weekend everyone !.

Really hope someone can help me with this.

1) I'm developing a web "application" using PHP , HTML and Javascript.

2) Most of the code is written with .php pages

3) Some javascript is written directly in the .php page but most of the complex js  is included by included external .js pages on the .php page using statements  -like echo('<script type="text/javascript" src="'.$Path.$FileName.'.js"></script> '); - to include javascript pages  

4) I have been using Microsoft script debugger 1.0.7 which seems to identify js errors in the js that is written directly into the .php page. HOWEVER whenever the source of the js error is on one of the included js pages the debugger seems to highlight lines of code that have nothing to do with the error.

Can someone please :
1) Most importantly point me to the best Javascript debugger available ?!
2) Or alternatively tell me how to deal with the issue I'm encountering using Microsoft script debugger?

Thanks in advance all for your usual helpfulness.



And perhaps tell me if they
Watch Question
This problem has been solved!
Unlock 2 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE