remoteExec/remoteExecCall executed with target -2 (run function everywhere but server) does not execute locally in SP, means it does not execute the command at all in SP/SP Editor.
This makes workarounds needed while developing and should be avoided.