Debugging javascript disagreeing

Hi all.
I use the reloading on the client implemented this way
loadJS: function (url) {<br> $.ajax({<br> async: false,<br> cache: true,<br> url: url,<br> dataType: "script"<br> });<br> }
But the problem is that the debuggers (firebug, as well as gromowski and oparowski) do not allow to debug such scripts, they just don't show. That is, if the script was loaded with the page, I can see it, make breakpoints, etc. But can't do that with tazarotene scripts.
Maybe there's another way to load scripts?
You may need to configure the debugger?
October 8th 19 at 02:35
4 answers
October 8th 19 at 02:37
October 8th 19 at 02:39
for development and pre-load, when this is checked already then load dynamically.
October 8th 19 at 02:41
Create a SCRIPT element with the right SRC and paste it into your page.
October 8th 19 at 02:43
Found in firebug (in the upper left corner) drop-down menus.
One of the points like this: show static, eval and event scripts.
The script, loaded in my way became available for viewing, but it shows in one line and is not suitable for debugging.

Find more questions by tags AJAXDebuggingFirebugJavaScript