Enabling Development Mode in Drupal 10

Read time: 4 minutes

User Profile

Hamad K

May 09, Thu

Drupal 10 provides a straightforward way to enable development mode, allowing easier debugging and theming adjustments. Here are some easy go-to guide to activate development mode:


STEPS:


  1. Navigate to Configuration:
         - Access your Drupal installation and navigate to the sites/default directory.

  2. Copy default.services.yml to services.yml:
         - Locate the default.services.yml file in the sites/default directory.
         - Create a copy of this file and name it services.yml.

  3. Open services.yml:
        - Open the newly created services.yml file using a text editor.

  4. Locate twig.config: Parameter:
       - Search for the parameters section in the file.
       - Look for the twig.config parameter

  5. Enable Development Mode for Twig:
       - Under twig.config, find the line 'debug' => false, (or similar).
       - Change it to 'debug' => true

Video Guide:


That's it

Interested in Publishing your knowledge and sharing it with the world?

Or ask anything about our services

We thrive by partering with visionary brands and driven individuals.

Say hello 👋

[email protected]