cl_script_trace_enable Command

Explore usage, syntax, and examples for the cl_script_trace_enable CS2 developer console command.

cl_script_trace_enable

CS2 Only

Command

cl_script_trace_enable

<File or Function Name>

Turns on tracing output for a specific script file or function to help debug your scripts.

<File or Function Name>

Enter the name of the script file or function you want to trace.

sv_cheats Required

Yes

Client or Server Command

Client

cl_script_trace_enable Generator

Command

cl_script_trace_enable

<File or Function Name>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

cl_script_trace_enable Examples

Command

cl_script_trace_enable

myScript.js

Turn on tracing for the script file 'myScript.js'.

Command

cl_script_trace_enable

myFunction

Turn on tracing for the script function named 'myFunction'.