Debugging Guide¶
Tips and techniques for debugging the Authentication Test API.
Enable Debug Logging¶
Set log level to DEBUG:
Debug with IDE¶
IntelliJ IDEA / VS Code¶
- Start server in debug mode:
mvn liberty:dev - Attach debugger to port 7777
- Set breakpoints in code
- Make API request to trigger breakpoint
View Logs¶
Development Mode¶
Logs appear in console when running mvn liberty:dev
Container Logs¶
Decode JWT Token¶
Test Keycloak Connectivity¶
# Test JWKS endpoint
curl https://keycloak.lab.home/realms/secure-test/protocol/openid-connect/certs | jq