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
EranVEranV 

Debugging Lightning server controller

It seems like Apex code of Lightning Component server controllers aren't getting captured in the standard debug logs. Can anyone confirm and/or suggest a way to debug those controllers?

Thanks!
Best Answer chosen by EranV
Raj VakatiRaj Vakati
It will capture in same logs  ..  Set the Debug Log levels to FINEST 

https://help.salesforce.com/articleView?id=code_add_users_debug_log.htm&type=5
Add some system.debug log and you can able to see 

https://help.salesforce.com/articleView?id=code_add_users_debug_log.htm&type=5
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_debugging_debug_log.htm

All Answers

Raj VakatiRaj Vakati
It will capture in same logs  ..  Set the Debug Log levels to FINEST 

https://help.salesforce.com/articleView?id=code_add_users_debug_log.htm&type=5
Add some system.debug log and you can able to see 

https://help.salesforce.com/articleView?id=code_add_users_debug_log.htm&type=5
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_debugging_debug_log.htm
This was selected as the best answer
EranVEranV
Thank you!