| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A drop-in debug module for AngularJS
component install ng2/debug
Then require it in your index.html and add it as a dependency:
require('ng2-debug');
//...
angular.module('myApp',['ng2Debug']);And configure any of the debuggers in your .config block.
.config( function(DebugEventsProvider) {
DebugEventsProvider.setVerbosityLevel('vv');
});At the moment it only has an event debugger but:
It exposes just one function at the moment: setVerbosityLevel.
Sets the verbosity level from '' (empty string) off, to 'vvv' (most verbose).
Filters the output by creating a RegExp object with string and opts. opts defaults to 'ig'
| Back | FazBrowse Home | New Git URL |