angular-2-debugger-pipe
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

angular-2-debugger-pipe

Angular 2 pipe to trigger a JS debugger from a template!

Usage:

import { PLATFORM_PIPES } from '@angular/core';
import { DebuggerPipe } from 'angular-2-debugger-pipe';

bootstrap(App, [{
    provide: PLATFORM_PIPES,
    useValue: [DebuggerPipe],
    multi:true
}]);

Then, in your template:

{{ someObject | debugger }}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i angular-2-debugger-pipe

      Weekly Downloads

      164

      Version

      0.0.1

      License

      MIT

      Last publish

      Collaborators

      • phenomnomnominal