Debugging
The framework includes debug logs that can be useful if you encounter an error that is not sufficiently descriptive. For instance, you might face a WebSocket server error due to an incorrect Player.exe path. Enabling debug logs can provide insights such as “Spawning player executable with path: …”, helping you identify the issue.
To enable debug logs, execute the gameface-e2e command as follows:
Bash terminal:
DEBUG=oclif:gameface-e2e* npx gameface-e2eOn Windows, you can use the following command:
PowerShell:
$env:DEBUG = "oclif:gameface-e2e*"; npx gameface-e2eCommand Prompt:
cmd /C "set DEBUG=oclif:gameface-e2e* && npx gameface-e2e"