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

Architecture
Carlos Solís

Carlos Solís

Domain Driven Design: How to Implement a Scalable Architecture for Your Business

Learn how Domain Driven Design (DDD) empowers you to build applications that align with your business. Apply DDD in microservices and micro frontends architectures to create scalable,and maintainable solutions,leveraging the power of Modyo.

Carlos Solís

Carlos Solís

Instant Image Optimization with Liquid in Modyo

Optimizing images is essential for any website, especially if you’re aiming for fast load times and a great user experience.

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.