An open API service indexing awesome lists of open source software.

https://github.com/phenomnomnominal/angular-2-debugger-pipe

Angular 2 pipe to trigger a JS debugger from a template
https://github.com/phenomnomnominal/angular-2-debugger-pipe

Last synced: 3 months ago
JSON representation

Angular 2 pipe to trigger a JS debugger from a template

Awesome Lists containing this project

README

        

# angular-2-debugger-pipe
Angular 2 pipe to trigger a JS debugger from a template!

# Usage:

```javascript
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:

```html
{{ someObject | debugger }}
```