JQuery jamba functions

jQuery makes extensive use of lambda functions wherever a function should be passed to another function. But Visual Studio 2008 will not evaluate breakpoints set inside the JavaScript lambda function. Does anyone know of a workaround for this other than specifying an explicit function name and passing that jQuery function?

+2
source share
2 answers

try using firebug .

+4
source

Insert a debugger into your function.

$.get('http://...').on('data', 
    function(data) {
        debugger;
    }
);
0
source

Source: https://habr.com/ru/post/1791372/


All Articles