Theseus alternatives and similar modules
Based on the "Debugging / Profiling" category.
Alternatively, view Theseus alternatives based on common mentions on social networks and blogs.
8.5 0.0 Theseus VS ndbndb is an improved debugging experience for Node.js, enabled by Chrome DevTools
4.8 5.7 Theseus VS swagger-statsAPI Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
2.5 0.0 Theseus VS thetoolthetool is a CLI tool to capture different cpu, memory and other profiles for your node app in Chrome DevTools friendly format
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Theseus or a related project?
Theseus is part of a collaboration between the User Interface Design Group at MIT CSAIL and Adobe Research. Though it's a research project, I'm doing the best I can engineering-wise and I'm responsive to bug reports and feature requests. Patches welcome!
Real-time code coverage: Theseus shows the number of times that every function has been called next to its definition. Functions that have never been called are also given a gray background. You can watch the code light up as you interact with the web page.
Retroactive inspection: Click a call count to see the values of parameters, return values, and any exceptions that have been thrown from that function. It's like adding
console.log without having to save and reload.
Asynchronous call tree: If you click multiple call counts, all invocations of those functions are shown in a tree. When callback functions are called, they show up in the tree under the function that created them, regardless of whether they were called immediately or many ticks later.
- Install Brackets Sprint 28 or later.
- In Brackets, click the menu item File > Extension Manager...
- Go to the "Available" tab of the dialog that appears.
- Type "Theseus" in the search box.
- Click the "Install" button in the search result for Theseus.
For Node.js support, also run
npm install -g node-theseus in a terminal to get the command-line helper. Theseus requires node-theseus 0.2.x.
Start your program by running
node-theseus app.js (instead of
node app.js as you normally would). Theseus will automatically connect to that process.
npm install -g node-theseus)
Open the File menu and put Theseus into the mode for static HTML files:
Then open an HTML file and start Brackets' Live Development mode by clicking the lightning bolt in the top right corner of the window:
Your page will open in Chrome.
A Handful of Technical Details
Node.js: Files with paths containing
node_modules will not be instrumented.
Chrome: Files requested with the URL parameter
theseus=no (for example,
<script src="script.js?theseus=no" />) will not be instrumented.
Any file containing the (exact) string
/*theseus instrument: false */ will not be instrumented by Theseus. You can also use the
--theseus-exclude=filename option with
node-theseus (which also has some other options that you might find helpful).
First, there's a whole wiki page about troubleshooting Theseus. Check it out!
If you come across a bug, submit an issue on GitHub. Include a list of steps we can follow to reproduce the problem, a description of what you saw that seemed broken, and a description of what you expected to see.
Announcements and discussion: https://groups.google.com/d/forum/theseus-discuss
Theseus is a constellation of Node.js modules working together. For contributors, there's a detailed description of how Theseus works, but below is a list of all the modules that you can use to create similar (or dissimilar!) projects.
Patches to any of these projects are welcome. I'll even help you figure out how to do something that doesn't make sense to merge but still deserves to exist.
Theseus, the Brackets extension
- adobe-research/theseus: the Brackets extension and its UI (you are here)
- adobe-research/node-theseus: the command-line runner for debugging Node.js programs with Theseus
- alltom/esprima-selector: ask whether a particular esprima node matches a CSS-like selector.
- alltom/falafel-helpers: decorate falafel nodes with some fancy helpers
- alltom/fondue-profile: a really simple instrumenting profiler built with fondue
- @alltom. Primary developer.
- @nhynes. Automatic upgrades, bug-fixes.
- @MarcelGerber. Made the UI translatable and added German translation.
- @joelrbrandt. Added the menu item for enabling and disabling Theseus.
- @larz0. Made Theseus match Brackets' visual style.
- @jasonsanjose. Sprint 30 compatibility, Edge Code compatibility.
- @benchuk. Redirect requests to files in
Also thanks to the whole Brackets team, and to @alltom's mentors, @rcmiller and @joelrbrandt!
Theseus is released under the MIT license.
*Note that all licence references and agreements mentioned in the Theseus README section above are relevant to that project's source code only.