My problem is very similar to this . But adding necessary user(Site owner) to Debug Logs doesn't help me. I don't see any logs at all. But webservice works well.


Looks like the webservice / rest service is hosted as public using Sites. I guess while calling the webservice from your client, you just need set the cookie. Something like

http.setHeader('Cookie', 'debug_logs=debug_logs,domain=.force.com')

The post Adrian linked has more details about this update. Moreover check if you can set the Traced Entity Type as your Rest Class and see if puts some log out. enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.