In the beginning I started learning to program with C++,for that I used Viusal C++, I had a debugging mode in Visual C++ where I could look what values variable have on Run-Time.As JS code is executed in browser I have to consider my self what values variables have. I want to know if there is some debugger available for JS where I can see values changing o0n Run-Time. Because of not knowing about any such debugger I have to spend more time while trying to figure out logical error.
-
4Maybe Chrome devtools will help: developers.google.com/chrome-developer-tools/docs/…ashatte– ashatte2013-11-04 00:06:56 +00:00Commented Nov 4, 2013 at 0:06
-
3Alternatively, there's Firebuguser1864610– user18646102013-11-04 00:08:17 +00:00Commented Nov 4, 2013 at 0:08
-
So, you haven't even tried to ask google for that? "how to debug javascript" provides tons of info. Next time - ask google.com before stackoverflowzerkms– zerkms2013-11-04 00:29:39 +00:00Commented Nov 4, 2013 at 0:29
Add a comment
|
2 Answers
Inspect variables in IE - http://msdn.microsoft.com/en-us/library/dd565625(v=vs.85).aspx#_vars
Watch variables in Firefox - https://developer.mozilla.org/en-US/docs/Tools/Debugger#Watch_expressions
Watch variables in Chrome - https://developers.google.com/chrome-developer-tools/docs/tips-and-tricks?hl=en#favorite-expression
Comments
If you are looking for debugging just JavaScript by itself, check this question: JavaScript IDE/Compiler