-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4eb503e
commit 47ef9f1
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.