Debug console commands
While the Niagara Debugger is an excellent tool, we may not need all the features it has. We may want to use the debug features at runtime without the interface, or we may want to be able to log them during gameplay testing, or we may even want to trigger the debug features at certain points in our game to debug specific areas in our games.
We can do all of this and much more with the help of console commands. These commands can be typed in the Unreal Editor console located in the Output Log panel:
Fig. 9.34: Typing the Niagara debug commands in the console
It can also be triggered through the Execute Console Command node in Blueprints:
Figure 10.35: Using the Execute Console Command node in Blueprints to trigger the debug commands
Let us have a look at an example of a console command:
fx.Niagara.Debug.Hud Enabled=1 OverviewEnabled=1
This command by itself can be seen here:
fx.Niagara.Debug.Hud...