Modern cryptography libraries make sure that the execution path (and memory access patterns) do not depend on sensitive data. Usually this is what is meant with 'constant-time'.
If a debugger can read out registers or memory you can just read out the sensitive material of course.