Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alidavut/locus

Locus is a debugging module for node.js
https://github.com/alidavut/locus

debugger javascript locus nodejs

Last synced: 11 days ago
JSON representation

Locus is a debugging module for node.js

Awesome Lists containing this project

README

        

ʆ Locus
=======

Locus is a debugging module which allows you to execute commands at runtime via a REPL.

[![asciicast](screenshot.png)](https://asciinema.org/a/102735?autoplay=1&speed=1.5)

## Installing

```bash
npm install locus --save-dev
```

## Using

```javascript
require('locus');

var myVar = 123;
var myObj = {
key: 'value'
};

function makeSomething() {
var some = 'some value';

// will start a repl session
// you can manipulate the program at runtime
eval(locus);

// another option
eval(require('locus'))

return some;
}

makeSomething();
```

Use **exit** command to leave.