Troubleshooting
Guia de resolução de problemas do moclojer. Soluções para erros comuns, debugging tips e como obter ajuda quando algo não funciona.
🚀 Início Rápido
moclojer --version- endpoint: path: /test response: body: "ok"moclojer --config mocks.yml 2>&1 | tee moclojer.log
📁 Problemas de Configuração
"Config file not found"
"YAML parse error"
"Invalid JSON in response body"
🌐 Problemas de Servidor
"Address already in use"
"Server started but requests timeout"
🔍 Problemas de Matching
"404 Not Found" quando deveria fazer match
Templates não são substituídos
🔄 Problemas de Hot-Reload
"Hot-reload não funciona"
🐳 Problemas com Docker
"Container starts but can't connect"
🌍 Problemas de CORS
"CORS error in browser"
🔧 Debugging Avançado
Habilitar Logs Verbosos
Testar com curl -v (verbose)
Usar Proxy para Inspecionar
Testar JSON com jq
🆘 Obtendo Ajuda
Antes de Pedir Ajuda
Onde Pedir Ajuda
✅ Checklist de Troubleshooting
📚 Veja Também
Last updated
Was this helpful?