Breakpoints in javascript libraries

I'm using Idea v12.1.6.
I've configured a javascript library (Angular.js) in my project, and want to put down a breakpoint.
I notice, when i configure the js lib, the Angular js file is no-longer available for me to set a remote URL in the run config..
In my html, i ref angular from //
When i debug using the run config, IJ does not stop at my breakpoint (it does if i remove the lib and ref the remote cdn url directly in the run config)

Also, code completion and syntax hilighting is not there for the angular stuff (e.g. $scope.$watch is not hilighted)

How can i get the debug working, using libraries, with code completion, hilighting et al?

My end goal is to further introduce maps so my cdn is minified and debug is not.

Please sign in to leave a comment.