How to keep track of the script at the time of the presence of unresponsiveness/bugs and other things?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Rewrite project a little rule, the results data from the server and their processing by the client in consequence of which my website was just to hang out at some point. About the reasons I can only put guesses, but is there a way to track (preferably in chrome) which stage of execution of the script is the browser, in General, to identify any deficiencies in the application, to understand that fails, and not to point a finger at the sky?
by | 12 views

1 Answer

0 like 0 dislike
If the first view of the architecture of the code on the client did not help to identify the problem in the wrong place (in the script) in which you get data from the server (as I understand it after AJAX requests), in the Chrome debugger, set a breakpoint and monitor the behavior of functions.

Related questions

110,608 questions
257,187 answers
40,796 users