Skip to content


This section explains the debugging process for applications built using Shardus. This will likely be the most difficult part of the development process, so we recommend that you follow the instructions in this section when you come across errors or bugs in your application.

  • Application - Bugs related to your application code
  • State - Bugs related to your data synchronization
  • Transaction - Bugs related to transactions
  • Common Errors - Errors we have come across during development

TODO (Thoughts)

  • Need a section on setting up and using the debugger with Shardus in a way that allows you to attach debuggers to every single instance of your network.

  • Need a section on log forensics and how to use the logs to find bugs.

  • Need a section on using pm2 tools and monitoring solutions to help catch cpu or memory related problems, including the v8 profiler and flame graphs.