Skip to content
Locus is a debugging module for node.js
JavaScript
Branch: master
Clone or download
Latest commit 0bd35df Feb 10, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src remove histories folder, create with postinstall instead Feb 10, 2017
.gitignore remove histories folder, create with postinstall instead Feb 10, 2017
README.md add screenshot Feb 10, 2017
package.json update package.json Feb 10, 2017
screenshot.png add screenshot Feb 10, 2017

README.md

ʆ Locus

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

asciicast

Installing

npm install locus --save-dev

Using

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.

You can’t perform that action at this time.