A terminal front-end for the Debug Adapter Protocol.
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.
Dependencies:
make
sudo make install
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 withcmd
.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.
break <filename> <line>
continue
evaluate <expression>
launch <adapter name>
pause
quit