Setting Cep Debug Mode and Log Level the Easy Way

TrevorAdobe Extensions0 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.
To turn off the debug mode do the same just changing the 1 at the end of the lines 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.
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 CEP7 (CC 2017) for CEP8 change the CSXS.7 to CSXS.8 for CEP9 to CSXS.9 etc.
This is the #1 reason that extensions stop to work when a new CC version comes out.

HTH

Trevor

Leave a Reply

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

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

Please show you are a human. Time limit is exhausted. Please reload CAPTCHA.