# capture-frame=150
In addition to specifying the frame index to trace, the user must also indicate the type of trace to be collected. In the same "GPUPerfServer.cfg" file, find the following line:
# trace-type=API
Uncomment the leading '#', and insert the type of trace to be collected at the frame specified in the step above. Valid options for trace-type are "API", "GPU", or "Linked". Note that this option is case-insensitive.
Refer to the Using GPU PerfStudio with DirectX 12 section for more detail on the capabilities of each type of trace.
After updating the server configuration file, start your application with GPU PerfServer as normal by using a method mentioned in the Starting your application with GPU PerfStudio section. Once your application is up and running, connect to it using the GPUPerfStudio Client. The Client will recognize that automatic tracing is enabled, and will open the trace with the data collected during the frame.