I came across this case while trying to dynamicly load a bunch of script files, and where I was getting no errors returned when the JavaScript was failing. This will hopefully save someone a lot of time.
How do I enable chrome debugging when inserting a script tag into the head using jquery. This does not allow for debugging (no errors are returned).
$(function(){
$('head').append('<script type="text/javascript" src="example.js"></script>');
});