Enabling Development Mode in Drupal 10
Read time: 4 minutes
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:
- Navigate to Configuration:
- Access your Drupal installation and navigate to the sites/default directory. - 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. - Open services.yml:
- Open the newly created services.yml file using a text editor. - Locate twig.config: Parameter:
- Search for the parameters section in the file.
- Look for the twig.config parameter - 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 👋