Skip to content

Commit 47ef9f1

Browse files
committed
Readme
1 parent 4eb503e commit 47ef9f1

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
SystemJS Debugger
2+
=================
3+
4+
Enables debugging SystemJS (JSPM) configuration.
5+
6+
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()`.
7+
8+
Usage
9+
---------------
10+
``` javascript
11+
// import debugger first
12+
System.import('systemjs-debugger').then(function(systemJSDebugger) {
13+
System.import('app.js').then(function() {
14+
// log imports after import
15+
systemJSDebugger.logImports();
16+
});
17+
});
18+
```
19+
Example output
20+
---------------
21+
![Example output](https://github.com/peteruithoven/systemjs-debugger/raw/master/systemjs-debugger-logs-example.png)

systemjs-debugger-logs-example.png

137 KB
Loading

0 commit comments

Comments
 (0)