<commit_before># Microcosm Debugger

A debugging tool for Microcosm. Work in progress!

## Usage

These steps will probably not work yet. But the gist of it:

```javascript
var Debugger = require('microcosm-debugger')

var app = new Microcosm()

app.addPlugin(Debugger)

app.start(function() {
  console.log("Commence debugging")
})
```

## What it looks like

![how-it-works](./docs/debugger.gif)
<commit_msg>Add link to Microcosm<commit_after># Microcosm Debugger

A debugging tool for [Microcosm](https://github.com/vigetlabs/microcosm). Work in progress!

## Usage

These steps will probably not work yet. But the gist of it:

```javascript
var Debugger = require('microcosm-debugger')

var app = new Microcosm()

app.addPlugin(Debugger)

app.start(function() {
  console.log("Commence debugging")
})
```

## What it looks like

![how-it-works](./docs/debugger.gif)

{'fraction_non_alphanumeric': 0.13333333333333333, 'fraction_numerical': 0.0, 'mean_word_length': 4.768211920529802, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5460799', 'n_tokens_mistral': 305, 'n_tokens_neox': 292, 'n_words': 85}