Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-05T22:22:50.397Z
Answers.Text: 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.
Answers.UserDisplayName: 4midori
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-05T20:10:30.857Z
Answers.Text: 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.
Answers.UserDisplayName: Matthias Redl-Mann
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-08-19T13:43:30.277Z
Answers.Text: 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
Answers.UserDisplayName: Cole Henley
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-08-24T01:30:44.443Z
Answers.Text: @ColeHenley correct - the debug toolbar utilises PHP sessions, which uses cookies, which don't work well across unique root domains.
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-04T23:35:59.693Z
Answers.LastActivityDate: 2020-06-04T23:35:59.693Z
Answers.UserDisplayName: Brad Bell
Body: <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>
  
Tags: <yii><devmode>
Title: Show dev mode and Yii toolbar on secondary site
ThreadText: # 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. @username_1  
  > **username_1**: @username_3 correct - the debug toolbar utilises PHP sessions, which uses cookies, which don't work well across unique root domains.  
  
  ---
  
  