Convienent boilerplate for debugging the Yazi terminal file manager.
Make sure to download and install the nightly binaries built on GitHub and available from the official nightly release page. Move both the yazi
and ya
executables into the bin
directory of this repo. They will be used when running the yazi
script in the parent directory.
Note: Both the nightly yazi
and ya
executables are required.
Edit the config files in this directory and plugins/repro.yazi
.
Start Yazi by running the yazi-repro
wrapper script in this directory:
> ./yazi-repro
> ./yazi-repro --version
> ./yazi-repro --output
This script will start the nightly yazi
in debug mode, ensure the nightly ya
has priority over anything else in your system, load only the config files in this directory, and convienently display the log file upon exiting.
Happy debugging! >.<'