debugging - How to set a breakpoint on inline JavaScript in Chrome Dev Tools? -
here example code:
<a href="javascript:void('add media')" onclick="ckeditor.tools.callfunction(19,this);return false;">
is there way set breakpoint when click fire off callfunction debugger kicks in? tried editing inline function , prepend debugger;
debugger behaves weirdly , doesn't step thought would.
you can put debugger
inline:
<a href="javascript:void('add media')" onclick="ckeditor.tools.callfunction(19,this); debugger; return false;">
Comments
Post a Comment