Topic was automatically imported from the old Question2Answer platform.
Asked By
GrandNecro
Is there a setting in the Godot ide that allows me to set the command line arguments for my project? I want to test how my parsing code works, but don’t want to have to export the game as an executable everytime to test it.
Not from the editor directly (unless another reader knows otherwise, please correct me!). However, godot is just running itself with some command line args to the project; you could run this directly from CLI without exporting:
Ideally, you’d run this from the project’s folder. Using an external IDE (such as Rider or Visual Studio Code), it’s also possible to change the debug configuration to include additional args.
Thanks! this worked well.
Also note to future readers who might have the same problem:
I found it useful to rename "“Godot_v4.0-stable_win64.exe” to “godot.exe”
then add the directory containing the executable to the environment path. This way, it easy to run the command argument from anywhere.
Ex: