<commit_before>Theseus
=======

Theseus is a new type of JavaScript debugger that makes it far easier to debug asynchronous code. Theseus is an extension for the code editor [Brackets](https://github.com/adobe/brackets). For the time being, it requires a special build of Brackets, but that shouldn't be true for much longer.

Theseus is part of a collaboration between the [User Interface Design Group at MIT CSAIL](http://groups.csail.mit.edu/uid/) and [Adobe Research](http://research.adobe.com/).

![Screenshot of Theseus](https://raw.github.com/adobe-research/theseus/gh-pages/screenshot.png)

Installing
----------

1. You need to use a current revision of the `master` branch of Brackets to use Theseus. Get started with Brackets' guide [How to Hack on Brackets](https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets). Theseus was most recently tested with `96cdc87ab4112a7958f9444ef575a8dd8629935b`.
2. Once you've built Brackets, run `npm install` in the extension's `brackets-theseus/` and `brackets-theseus/fondue/` directories.
3. Finally, you can install the `brackets-theseus` extension by copying or symlinking it into your extensions directory (Help > Show Extensions).

Using
-----

When you open a web page with Live Development (click the lightning bolt in the upper right of the Brackets window), Theseus shows call counts in the gutter next to every function definition. Click on one or more of them to show a log of all calls to those functions (with their arguments return values).

Using with Rails
----------------

Brackets doesn't officially support server-side technologies where there's no 1:1 mapping between URL structure and local file structure (https://github.com/adobe/brackets/issues/2103). However, Theseus has some support for *JavaScript files served from `/assets/` and `/public/` in development mode*.

1. Start Rails in development mode on port 3000 (run `rails server`)
2. Open `config/application.rb` in Brackets and start Live Development mode by clicking the lightning bolt in the upper-right corner.
3. Chrome should start and redirect you to the root of your rails site.

License
-------

Theseus is MIT licensed.<commit_msg>elaborate on why Rails support is so tenuous<commit_after>Theseus
=======

Theseus is a new type of JavaScript debugger that makes it far easier to debug asynchronous code. Theseus is an extension for the code editor [Brackets](https://github.com/adobe/brackets). For the time being, it requires a special build of Brackets, but that shouldn't be true for much longer.

Theseus is part of a collaboration between the [User Interface Design Group at MIT CSAIL](http://groups.csail.mit.edu/uid/) and [Adobe Research](http://research.adobe.com/).

![Screenshot of Theseus](https://raw.github.com/adobe-research/theseus/gh-pages/screenshot.png)

Installing
----------

1. You need to use a current revision of the `master` branch of Brackets to use Theseus. Get started with Brackets' guide [How to Hack on Brackets](https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets). Theseus was most recently tested with `96cdc87ab4112a7958f9444ef575a8dd8629935b`.
2. Once you've built Brackets, run `npm install` in the extension's `brackets-theseus/` and `brackets-theseus/fondue/` directories.
3. Finally, you can install the `brackets-theseus` extension by copying or symlinking it into your extensions directory (Help > Show Extensions).

Using
-----

When you open a web page with Live Development (click the lightning bolt in the upper right of the Brackets window), Theseus shows call counts in the gutter next to every function definition. Click on one or more of them to show a log of all calls to those functions (with their arguments return values).

Using with Rails
----------------

Brackets doesn't officially support server-side technologies where there's no 1:1 mapping between URL structure and local file structure (https://github.com/adobe/brackets/issues/2103). However, Theseus has some support for *JavaScript files served from `/assets/` and `/public/` in development mode*.

1. Start Rails in development mode on port 3000 (run `rails server`)
2. Open `config/application.rb` in Brackets and start Live Development mode by clicking the lightning bolt in the upper-right corner.
3. Chrome should start and redirect you to the root of your Rails site.

Rails support **relies on undocumented bugs in Brackets** (specifically, the remote debugging connection to Chrome persists even when the Live Development connection times out (I guess this is documented now (please don't fix it yet))), so it could stop working at any time.

License
-------

Theseus is MIT licensed.
{'fraction_non_alphanumeric': 0.0899165061014772, 'fraction_numerical': 0.018411475058873902, 'mean_word_length': 4.255343082114735, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '156244', 'n_tokens_mistral': 1359, 'n_tokens_neox': 1225, 'n_words': 611}