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
- Host: GitHub
- URL: https://github.com/phenomnomnominal/angular-2-debugger-pipe
- Owner: phenomnomnominal
- License: mit
- Created: 2016-08-03T10:20:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-03T10:24:30.000Z (almost 9 years ago)
- Last Synced: 2025-01-12T18:51:01.343Z (4 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 }}
```