function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kkaalkkaal 

Debugging apex does now work for me

I am trying to debug a controller of a VF page.

 

The documentation is not really clear and specific about that, but I did the following:

 

1. I switched on logging. All types in highest settings (debug)

2. I wrote statements into my code like this "System.debug(LoggingLevel.Info, 'this is a flag... blabla');"

 

The debug statement does not appear in the logs.

 

Any hint, why that is?

 

NaishadhNaishadh

Use debug message on setup->Administration setup ->Debug logs.

 

Check if your name is added or not. If not add it and then try to rerun the same application.