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

Java 8 + Maven Javadoc plugin: Error fetching URL -

android - How to delete or change the searchview icon inside the SearchView actionBar? -

c++ - Msgpack packing bools bug -