Debug
In order to monitor, debug, and profile execution of Mélodium program, melodium run can take arguments.
Logs
melodium run --logs <path> makes all execution logs to be written at path.
Debug
melodium run --debug <path> makes debugging events to be written at path. Thos events are in Json format.
API Report
melodium run --api-report makes execution status, logs, and debug to be sent through API for further inspection.
The API and token must be set up in MELODIUM_API_URL and MELODIUM_API_TOKEN environment variables.
Note
Service like Cadence.CI provides execution reporting.