CS2 cl_script_trace_enable Command

CS2 Command CS2 logo
cl_script_trace_enable <File or Function Name>

Enables tracing output for scripts by specifying either file name or function name. Useful for debugging scripts.

Argument Information

The syntax for this command is as follows:
Name Description
File or Function Name

The name of the script file or function to enable tracing for.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
Yes
Client or Server Command
Client
Default Value
cmd
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
IPS

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

cl_script_trace_enable <File or Function Name>
0/1 arguments filled
File or Function Name

cl_script_trace_enable Examples

cl_script_trace_enable myScript.js

Enables tracing output for 'myScript.js'.

cl_script_trace_enable myFunction

Enables tracing output for the script function named 'myFunction'.