raiguard / pesticide

A terminal front-end for the Debug Adapter Protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pesticide

A terminal front-end for the Debug Adapter Protocol.

Status

The project is progressing alarmingly quickly. Go is agreeing with me much more than Rust ever did, and the project is coming together at a frightening pace.

Build

Dependencies:

make
sudo make install

Usage / configuration

Place a .pesticide 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"
    }
  }
}
  • cmd: A command-line command to execute.
  • addr: An IP address to connect to. This can be used in combination with cmd.
  • args: Any adapter-specific arguments.

Launch the pest executable in your project directory and it will source the configuration file. You can now run commands.

Current commands

  • break <filename> <line>
  • continue
  • evaluate <expression>
  • launch <adapter name>
  • pause
  • quit

About

A terminal front-end for the Debug Adapter Protocol.

License:MIT License


Languages

Language:Go 93.0%Language:KakouneScript 3.7%Language:Makefile 3.3%