standard debugging way for javascript/jquery
Posted
by ZX12R
on Stack Overflow
See other posts from Stack Overflow
or by ZX12R
Published on 2010-03-26T06:45:38Z
Indexed on
2010/03/26
6:53 UTC
Read the original article
Hit count: 247
This is my usual way to debug javascript. Include alert(0); to break the flow and find out what is happening.
sometimes when i need multiple check points i do
alert('the flow is now in function 1');
alert('the flow is now in function 2');
or sometimes just
alert('success');
i would like to know if there is any standard way for debugging adopted as i am finding my current method very intrusive.
thanks in advance..:)
© Stack Overflow or respective owner