The Debug Mode of the PLT can be used to transfer elements directly to the PLT, bypassing PLTcloud. This allows for rapid iteration in the development of a test plan.
The SSH keys for which public keys are attached for a project can be used to upload test plan YAML files and other artifacts using SFTP.
Activating Debug Mode
Once a debug SSH (`.pub`) key is set on a project that is deployed to a PLT, the debug mode can be activated from the Reset section of the PLT view in PLTcloud:
- Reset PLT in Debug Mode
- Wait for PLT to restart in debug mode
Transferring release elements
While the PLT is in debug mode, an SFTP client (such as sftp or WinSCP) can be used to upload release elements.
$ sftp debug@<PLT IP>
debug@<PLT_IP>$ put myTestPlan.yaml
debug@<PLT_IP>$ put firmware.hex
Note: after adding a new test plan YAML file, use the on-screen menu to select "Restart" to ensure the new plan is available.