Setting Cep Debug Mode and Log Level the Easy Way

TrevorAdobe Extensions7 Comments

Here's a real basic level post on a topic that's not documented quite as it should be.
As well know in order to get an unsigned extension to work one has to set up the debug mode, this is dead easy.

To set the debug level.

Set debug mode on Mac from Terminal Copy
Set debug mode on Windows from CMD (Command line) Copy
To turn off the debug mode do the same just changing the 1 that comes after PlayerDebugMode to 0.
Thanks to Kris Coppieters for the killall -u `whoami` cfprefsd method of killing cfprefsd, this method is easier than other documented ones.

To set the log level.

Set the log level on Mac from Terminal Copy
Set the log level on Windows from CMD (Command line) Copy

The log levels are as follows.

0 - Off (No logs are generated) 1 - Error (the default logging value) 2 - Warn 3 - Info 4 - Debug 5 - Trace 6 - All

So change the 6 in the above snippets to value of the level you want.

The examples here are for CEP9 (CC 2019 & 2020).
For CEP8 change the CSXS.9 to CSXS.8 for CEP10* to CSXS.10 etc.
This is the #1 reason that extensions stop to work when a new CC version comes out.
*The current plan is that there will not be a CEP 10! CC 2020 is still CSXS.9

HTH Trevor

7 Comments on “Setting Cep Debug Mode and Log Level the Easy Way”

  1. Avatar

    I am currently facing an issue with an extension in CC 2020. What is the status at the moment, is there a CEP10 now or it is still CEP 9 for 2020 version 17.1.2?

    1. Trevor

      The CC 2020 suite is still CEP 9.
      CC 2021 will be CEP 10, Adobe announced that there would be no CEP 10 but they were forced to change and it should come out with the Max release later this year.

      1. Avatar

        Great thanx Trevor,

        I will have to wait for a fix from the developers it seems, since I have tried everything suggested for this matter. Whatever I do, the ui does not appear (it did in CC 2019).

  2. Avatar

    Very useful information, thank you for sharing. Could you please add the location of where the log files are generated. Running Windows here and I was having difficulty finding the output path of the log file. Might help others facing the same problem. Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *