Debugging Guide

Learn how to debug and troubleshoot issues with your Gophel applications.

Log Analysis

View error-level logs:

View only error-level logs

gophel log <ID> --level error

Stream logs in real-time:

Stream logs in real-time

gophel log <ID> --follow

View recent logs:

View the last 100 lines of logs

gophel log <ID> --lines 100
Performance Monitoring

Check detailed application status:

View detailed application status

gophel status <ID> --detailed

Monitor application in real-time:

Monitor application performance

gophel monitor <ID>
Network Debugging

Check server connectivity:

Test server connectivity

ping <server-address>

Check port availability:

Check if port is in use

netstat -an | grep <port>

Make sure the required ports are available and not blocked by firewall.

Application State

List all applications:

View all applications and their states

gophel list

Check detailed application state:

View detailed application state

gophel status <ID> --detailed
Debugging Best Practices
  • Start with application logs
  • Check resource usage
  • Verify configuration settings
  • Test network connectivity
  • Monitor application state