Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alidavut/locus
- Owner: alidavut
- Archived: true
- Created: 2013-12-11T13:17:01.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2021-09-29T17:56:00.000Z (about 3 years ago)
- Last Synced: 2024-10-21T05:13:56.940Z (18 days ago)
- Topics: debugger, javascript, locus, nodejs
- Language: JavaScript
- Homepage:
- Size: 159 KB
- Stars: 306
- Watchers: 12
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-nodejs-cn - locus - 在运行时启动所有可访问变量的REPL (包 / 调试 / 分析)
- awesome-nodejs - locus - Starts a REPL at runtime that has access to all variables. ![](https://img.shields.io/github/stars/alidavut/locus.svg?style=social&label=Star) (Repository / Debugging)
- awesome-nodejs-cn - locus - **star:306** 在运行时启动一个可以访问所有变量的REPL ![项目已归档][Archived] (包 / 调试)
- awesome-nodejs - locus - Starts a REPL at runtime that has access to all variables. (Packages / Debugging / Profiling)
- awesome-nodejs - locus - Locus is a debugging module for node.js - ★ 255 (Debugging / Profiling)
- awesome-node - locus - Starts a REPL at runtime that has access to all variables. (Packages / Debugging / Profiling)
- awesome-nodejs-cn - locus - 在运行时启动可访问所有变量的REPL. (目录 / 调试/分析)
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.