<p><a href="https://docs.craftcms.com/v3/dev/global-variables.html#devmode" rel="nofollow noreferrer">devMode</a> is a general config setting and it applies to the whole Craft installation (regardless of the site if you're running a multi-site Craft installation.</p>

<p>The Craft debug toolbar is a user account preference to enable and it should work across all sites in a multi-site installation as well.</p>

CC BY-SA 4.0
2020-06-05T22:22:50.397Z
I have the Craft debug toolbar turned on in my user preferences, but it does not show up on a secondary site. FYI, I am unable to log into that secondary site from the front end, it doesn't have such a feature.
4midori
CC BY-SA 4.0
2020-07-05T20:10:30.857Z
Login to the CP should be possible also on your secondary site. You will only get a license warning, since the license belongs to your primary site. So if this really does not work, you should find out why this happens first.
Matthias Redl-Mann
CC BY-SA 4.0
2024-08-19T13:43:30.277Z
I appreciate this is an old post but wondering if in latest Craft (v5) it is possible to enable debug toolbar for a site that has multi-site with distinct domains for each site? Seemingly at present the login is restricted to the primary domain registered for the site. @Brad
Cole Henley
CC BY-SA 4.0
2024-08-24T01:30:44.443Z
@ColeHenley correct - the debug toolbar utilises PHP sessions, which uses cookies, which don't work well across unique root domains.
Brad Bell
CC BY-SA 4.0
2020-06-04T23:35:59.693Z
2020-06-04T23:35:59.693Z
Brad Bell
<p>I am unclear on how to turn on dev mode as well as the Yii toolbar when viewing a secondary site in Craft.</p>

<yii><devmode>
Show dev mode and Yii toolbar on secondary site
# Show dev mode and Yii toolbar on secondary site

(Asked by: username_0 on 2020-06-04)

I am unclear on how to turn on dev mode as well as the Yii toolbar when viewing a secondary site in Craft.

**Tags:** yii, devmode

---

## 1 answers

### Answer by username_1 on 2020-06-04. Score: 1

[devMode](https://docs.craftcms.com/v3/dev/global-variables.html#devmode) is a general config setting and it applies to the whole Craft installation (regardless of the site if you're running a multi-site Craft installation.

The Craft debug toolbar is a user account preference to enable and it should work across all sites in a multi-site installation as well.

> **Comments:**
> **username_0**: I have the Craft debug toolbar turned on in my user preferences, but it does not show up on a secondary site. FYI, I am unable to log into that secondary site from the front end, it doesn't have such a feature.  
> **username_2**: Login to the CP should be possible also on your secondary site. You will only get a license warning, since the license belongs to your primary site. So if this really does not work, you should find out why this happens first.  
> **username_3**: I appreciate this is an old post but wondering if in latest Craft (v5) it is possible to enable debug toolbar for a site that has multi-site with distinct domains for each site? Seemingly at present the login is restricted to the primary domain registered for the site. @Brad  
> **username_1**: @ColeHenley correct - the debug toolbar utilises PHP sessions, which uses cookies, which don't work well across unique root domains.  

---

