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

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -