Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ng2/debug

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

debug

A drop-in debug module for AngularJS

Installation

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');
});

Debuggers

At the moment it only has an event debugger but:

  • All debuggers have disabled output by default.
  • All debuggers hvae no filters by default.

Usage

It exposes just one function at the moment: setVerbosityLevel.

setVerbosityLevel ( string )

Sets the verbosity level from '' (empty string) off, to 'vvv' (most verbose).

setFilter ( string, opts )

Filters the output by creating a RegExp object with string and opts. opts defaults to 'ig'

Bitdeli Badge

About

A drop-in debug module for AngularJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.