# Troubleshooting

If you encounter issues with your pre-run scripts, consider the following steps:

  1. Check the Debug Console: Use the debug function to log variables and execution flow. Check the console for any error messages.
  2. Test Incrementally: If you have a complex script, test it in smaller parts to isolate the issue.
  3. Review API Responses: For scripts that make API calls, check the responses to ensure they contain the expected data.
  4. Validate JSON: If you're working with JSON data, use a JSON validator to ensure its format is correct.
  5. Check for Asynchronous Issues: Ensure you're properly handling asynchronous operations with async/await or promises.

If you continue to experience problems, please contact us on the support channel of our Slack workspace for further assistance.