1. Knowledge Base
  2. Crowdbotics | Builder
  3. Developer Training Part 3: Testing and Debugging

Resources for Debugging

Learn about the various resources Crowdbotics offers for debugging.

Debugging is a necessary part of any software development workflow, and Crowdbotics offers you some additional tools to debug your application. This section will cover tools on the dashboard for debugging, but you should also ensure that your code is working locally (see: local setup instructions) as part of your debugging workflow. 

The Status Page and Activity Log 

The status page is an excellent resource for debugging your production app, and should be one of the first places you begin any debugging session. The status page offers you windows into not only the live status of your app--through server logs--but also provides information on recent code changes and deployment status (including any deployment related errors).On the status page, you'll also be able to view a live preview of your app.

Debugging Server Errors using Server Logs

Crowdbotics provides server logs from your production application. To see these, go to the "Status" page and under "App Activity" click on "Server Logs." Your most recent logs will be displayed here. You'll also have the option to download your logs for viewing on your favorite text editor.

Screen Shot 2021-06-21 at 3.20.09 PM

The server logs tab is a great place to start debugging when your app is successfully deployed, but you are getting 500 errors or something on your backend isn't working correctly. Depending on the error, you may want to jump into your local setup and see if you can figure out what's going on. If you have any questions about how your backend is structured, please see this article

 

Debugging Deploy Errors with the App Activity tab

If you are running into problems on deployment, the App Activity tab (which is open by default) on the dashboard is a great place to see. Here you will find any errors associated with your deployment, with sometimes with additional links to Heroku logs for more information. 

Screen Shot 2021-06-30 at 1.31.05 PM

Migration Related Errors

You may experience errors relating to migrations for your project's backend. In this case, please see this article for more information specific to this problem.