This sample shows how to enable the trace feature.