← back

z_mirror/pesticide

git clone https://git.raiguard.me/z_mirror/pesticide

Caleb HeuerFix crash when stackframe source is nild788097

trunk
4 folders9 files

files

adapter/
command/
config/
ui/
.gitignore18 B
.kakrc512 B
.mailmap144 B
LICENSE1.1 KiB
README.md1.4 KiB
go.mod1.1 KiB
go.sum4.0 KiB
main.go364 B
pesticide.json289 B

Pesticide

A command-line UI for debuggers based on the Debug Adapter Protocol.

Installation

Install Go and run

go install codeberg.org/raiguard/pesticide

This will install the pesticide executable into your go/bin directory.

Usage / configuration

Place a pesticide.json file in your project directory and specify your adapter configurations. The file is JSON formatted:

{
  "adapters": {
    "fmtk": {
      "cmd": "fmtk debug /home/rai/dev/factorio/1.1/bin/x64/factorio",
      "args": {
        "hookControl": [ "UltimateResearchQueue" ],
        "modsPath": "/home/rai/dev/factorio/1.1/mods"
      }
    },
    "mock": {
      "cmd": "mockserver",
      "addr": ":54321"
    }
  }
}

Launch the pesticide executable and it will source the configuration file. You can now run commands.

Current commands

The project is usable, but is far from complete. Please open an issue if there is a capability or command that you are missing!