Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
peteruithoven committed Aug 15, 2015
1 parent 4eb503e commit 47ef9f1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
SystemJS Debugger
=================

Enables debugging SystemJS (JSPM) configuration.

After import it will keep a record of all imports and their information. You can log them in a readable way to a console using `logImports()`. You can also visualize them in your own way by retrieving the imports data using `getImports()`.

Usage
---------------
``` javascript
// import debugger first
System.import('systemjs-debugger').then(function(systemJSDebugger) {
System.import('app.js').then(function() {
// log imports after import
systemJSDebugger.logImports();
});
});
```
Example output
---------------
![Example output](https://github.com/peteruithoven/systemjs-debugger/raw/master/systemjs-debugger-logs-example.png)
Binary file added systemjs-debugger-logs-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 47ef9f1

Please sign in to comment.