Skip to content

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:

Terminal window
DEBUG=oclif:gameface-e2e* npx gameface-e2e

On Windows, you can use the following command:

PowerShell:

Terminal window
$env:DEBUG = "oclif:gameface-e2e*"; npx gameface-e2e

Command Prompt:

Terminal window
cmd /C "set DEBUG=oclif:gameface-e2e* && npx gameface-e2e"