Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nice to be used without site activation #8

Open
djay opened this issue Jan 30, 2012 · 5 comments
Open

nice to be used without site activation #8

djay opened this issue Jan 30, 2012 · 5 comments

Comments

@djay
Copy link
Member

djay commented Jan 30, 2012

This is a really useful debugging tool, particularly for analysing what is going on in a real site for instance on a UAT/staging server. However it's a security risk. For this reason we'd install it on its own special debug zope instance, not on all instances. However due being site specific it causes problems to have to used only on a single instance. It would be nice if there was another version or a way to use it without having to activate it per site.

@afrepues
Copy link

One way to have this available is to enable it only when the instance is running in debug mode, like it is possible to do with Clouseau.

@frisi
Copy link

frisi commented Mar 26, 2014

by now i'm using Products.PDBDebugMode to inspect production plone sites via a separate zeo client (instance-debug) that has this addon in it's eggs.
it's not installed on the instances used to serve the website in production.

plone.app.debugtoolbar would have the benefit of not having to ssh to the server, open a console and start the instance in foreground mode there to do the same.
however, since it needs to be installed on the plonesite, the production instances are complaining that the package is not installed on startup:

2014-03-26 11:42:30 WARNING OFS.Uninstalled Could not import class 'IDebugToolbarLayer' from module 'plone.app.debugtoolbar.browser.interfaces'

this works, is secure, but not 100% clean.

i'd also vote for skipping the registration to the browserlayer and make the addon available as soon as it's in the eggs section and the instance is started in debug mode.

any implications for other users with different use-cases?

@vangheem
Copy link
Member

+1 from me. Go ahead and implement.

@jensens
Copy link
Member

jensens commented May 12, 2014

indeed! +1

@thet
Copy link
Member

thet commented Jul 21, 2014

also +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants