| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A lightweight Node.js REPL debugger for Windows that spawns a PowerShell window and connects to your running process for live debugging.
npm install windows-debuggerconst windowsDebugger = require("windows-debugger");
// Start a debugger session
windowsDebugger({
title: "MyApp Debugger",
default: "Nothing entered",
eval: (code) => eval(code)
});When called, this will:
const windowsDebugger = require("windows-debugger");
let counter = 0;
setInterval(() => {
counter++;
console.log("Counter:", counter);
}, 2000);
windowsDebugger({
title: "Counter Debugger",
default: "No input",
eval: (code) => eval(code)
});A new PowerShell window will open with the title Counter Debugger.
Inside the window, you can type:
counterAnd see the live value of the counter variable.
| Option | Type | Description |
|---|---|---|
| title | string | The window title for the PowerShell debugger session. |
| default | any | The default return value when pressing enter without typing a command. |
| eval | Function | An eval function used to evaluate REPL input. |
| password | string | If not provided, a random one-time UUID is generated automatically. |
MIT
| Back | FazBrowse Home | New Git URL |