magento2-Ho_Templatehints icon indicating copy to clipboard operation
magento2-Ho_Templatehints copied to clipboard

work with production mode

Open onlinebizsoft opened this issue 4 years ago • 9 comments

I'm not sure if it is possible technically but it would be great if we can run this with production mode

onlinebizsoft avatar Aug 23 '21 04:08 onlinebizsoft

No, this makes no sense. You should never develop in production mode...

Eddcapone avatar Feb 01 '22 12:02 Eddcapone

Nothing wrong with testing your code also in production mode. @onlinebizsoft did you experience any issue with running Ho_Templatehints with production mode?

PascalBrouwers avatar Feb 01 '22 12:02 PascalBrouwers

@PascalBrouwers This is not a tool which is about testing and it is not good for performance.

Eddcapone avatar Feb 07 '22 09:02 Eddcapone

@Eddcapone "production mode" can be enabled on many environment (data entry site, content-preparation site, QA site, stage site,....etc), not only the production site. So I don't see any reason why we need to restrict this if users still want to enable it on in the production mode @PascalBrouwers it doesn't work if production mode is enabled (doesn't show any information)

onlinebizsoft avatar Feb 07 '22 10:02 onlinebizsoft

Hmm ok, then we need to look into it.

PascalBrouwers avatar Feb 07 '22 11:02 PascalBrouwers

Because it is not best practice. You should have a development instance and a production one.

Eddcapone avatar Feb 11 '22 12:02 Eddcapone

@Eddcapone we have separated instances but I mean on some instances we may set production mode for using.

onlinebizsoft avatar Feb 14 '22 01:02 onlinebizsoft

@onlinebizsoft Then activate it on the development instance ^^ why do you need it in production?

Eddcapone avatar Feb 15 '22 11:02 Eddcapone

@onlinebizsoft just ignore him. It's a valid point and we'll look into it why it's not working during production mode

PascalBrouwers avatar Feb 15 '22 11:02 PascalBrouwers