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

Photo by Adi Goldstein on Unsplash
Channels
Carlos Solís

Carlos Solís

Configure Security Headers in Modyo to Strengthen Your Website

In a digital environment where threats are constant, ensuring the security of websites is essential. One of the best ways to protect your applications is through Security Headers, HTTP configurations that act as protective barriers against attacks

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.