Quantcast
Viewing all articles
Browse latest Browse all 5661

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 //ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js

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.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>