Documentation

Dev Mode

If you want to quickly debug issues, enabling Craft's Dev Mode can be really handy. It provides detailed stack traces of template errors that help you zero in on bugs fast.

By default, Dev Mode is controlled by your project's general.php config file. However, if you want to quickly turn it on without making a code change, perform the following steps:

  1. Navigate to your project environment's Settings page in the Servd dashboard.

  2. Scroll to the "Dev Mode" section.

  3. Flip the switch to enable or disable Dev Mode.

  4. Click the Sync button to deploy the change.

🚨 Avoid in Production #

Dev Mode is not suited for your production environment and we'd strongly recommend disabling it unless there's an immediate need to debug an issue. Because it generates and stores a lot more runtime data, it will significantly reduce the performance of your project.

If you have the SEOmatic plugin installed, enabling Dev Mode will set the robots tag to be none for all pages, preventing your site from being indexed by search engines.