How do I kill a Javascript script? -


i'm trying debug bunch of functions redirect user. want "kill" script while it's running to read output of console.log(). can't use simple return because there many functions work together.

set breakpoint @ spot in code want pause. if add debugger statement in code browsers support automatically stop @ point , open debugger (actually think browsers (chrome?) may ignore statement unless have console/dev tools open, can start dev tools open if necessary).


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -