I just created this simple class:
global class HelloSandboxWorld implements SandboxPostCopy {
global void runApexClass(SandboxContext context) {
System.debug('Hello Tester Pester ' + context.organizationId() + ' ' + context.sandboxId() + context.sandboxName());
}
}
Now I want to debug it, I opened an anonymous execution window and typed the following:
HelloSandboxWorld s = new HelloSandboxWorld();
I executed the code, opened the logs, but nothing appears under 'Debug'.
Please help.