# screepsmod-user-script-debug

> [![NPM](https://nodei.co/npm/screepsmod-user-script-debug.png)](https://npmjs.org/package/screepsmod-user-script-debug)

Latest version **0.1.0** (published 2017-02-11) · 0 weekly downloads

## Install

```sh
npm install screepsmod-user-script-debug
pnpm add screepsmod-user-script-debug
yarn add screepsmod-user-script-debug
bun add screepsmod-user-script-debug
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-02-11 |
| First published | 2017-02-11 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ezolenko |

## Links

- npm: https://www.npmjs.com/package/screepsmod-user-script-debug
- npm.io page: https://npm.io/package/screepsmod-user-script-debug

## Recent versions

- 0.1.0 (latest) — 2017-02-11

## README

[![NPM](https://nodei.co/npm/screepsmod-user-script-debug.png)](https://npmjs.org/package/screepsmod-user-script-debug)

# screepsmod-user-script-debug
Local server mod for debugging user scripts.

Launches runner with --debug 6001, disables relaunch, gives all users infinite CPU.

## Manual steps
Runners count must be limited to 1 in `.screepsrc`
```
runners_cnt = 1
```

## Connecting from VSCode

Create launch configuration `.vscode/launch.json`

```
{
	"version": "0.2.0",
	"configurations": [
		{
			"type": "node",
			"request": "attach",
			"name": "Attach to Process",
			"port": 6001,
		}
	]
}
```

---
_Source: https://npm.io/package/screepsmod-user-script-debug · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
