The preferred way to set trace flags for the Perforce server (or proxy) is to set them on the p4d (or
p4p) command line. For technical reasons, this does not work for sites running Perforce servers or proxies as services under Windows. Administrators at such sites can use
p4 set to set the trace flags within
P4DEBUG, allowing the service to run with the flags enabled.
Setting server debug levels on a Perforce server (p4d) has no effect on the debug level of a Perforce Proxy (
p4p) process, and vice versa.