Enabling Debug Mode in Modyo CLI

Carlos Solís

Carlos Solís

Debugging is an essential part of software development. It allows us to identify and fix errors, optimizing the performance and stability of our applications. Modyo, aware of this, incorporates tools to facilitate this process.

If you work with Modyo, you're probably familiar with the Modyo CLI. This powerful command-line tool simplifies the deployment of widgets and micro frontends, streamlining your workflows.

However, when things don't go as expected, we need detailed information to understand what's going wrong. This is where debug mode comes in.

Debug Mode in the Modyo CLI

The Modyo CLI offers a debug system that provides detailed information about errors that may arise during deployment. This is crucial for diagnosing and troubleshooting issues efficiently.

Activating debug mode in the Modyo CLI is simple. Just add the prefix DEBUG=* before the Modyo CLI command you want to run:

DEBUG=* modyo-cli push

That's it! Now, when you run Modyo CLI commands, you'll get detailed debug information in your console.

Note: If you are on Windows, you may need to run the set DEBUG=* command before using the Modyo CLI.

For more details, please refer to the official Modyo CLI documentation.


Photo by Joan Gamell on Unsplash

Other Developer Tips

Customers
Carlos Solís

Carlos Solís

Creating Forms in Modyo

Forms are fundamental in any financial application. They help capture critical user information, such as personal data, preferences, and financial details.

Channels
Carlos Solís

Carlos Solís

Customize your UI in Modyo with Modular CSS

Customizing the look and feel of your Modyo application is essential for creating unique digital experiences.

Insights
Carlos Solís

Carlos Solís

Strategies for reverting changes in production

Writing code is a complex task that, despite having quality control systems and peer reviews, always carries the risk of an error reaching production, learn the strategies to avoid these issues and clear methods to revert errors when they occur.