Debugging Feather
VSC users may make use the following launch.json to debug Feather CLI.
{ "version": "0.2.0", "configurations": [ { "name": "Launch Package", "type": "go", "request": "launch", "mode": "auto", "program": "/Users/path/to/feather/cli/cmd/feather", // TODO "args": [ "validator", "daemon", "start", "--key", "YOUR_KEY_NAME", // TODO "--docker-registry", "dockerhub", "--docker-username", "YOUR_DOCKER_HUB_USERNAME (NOT EMAIL!)", // TODO "--docker-password", "YOUR_DOCKER_HUB_PASSWORD", // TODO "--reset", "--unsafe" ] } ]}
- The
programattribute should point to the go repo'smainpackage - To run other CLI command, change the
argsarray to the command you want to run --resetdrops and re-creates all SQL tables used by the SQLite action log (~/.feather/feather_action_log.db) used for crash recovery- For testing purposes, starting from a clean state allows for easier debugging
--unsafeskips simulations run before Feather Daemon subscribes to a chain- For testing purposes, this speeds up E2E testing
Refer to the launch.json attributes reference for more configuration options.