How to configure execution arguments for mojo-lldb in VSCode
Is there a way to pass command-line parameters to the Mojo debugger, so that the following code prints out:
I'm looking for the
So that I can get the code below:
To print out the following, when I Start Debugging
I believe this is the correct json block to edit, but I cannot find the correct parameters to configure.
as you can see I've tried setting
If this can only be done in another way, please can someone direct me to the path of enlightenment.
I'm looking for the
launcher.json configuration that would be equivalent to:So that I can get the code below:
debug_mode.mojo
To print out the following, when I Start Debugging
I believe this is the correct json block to edit, but I cannot find the correct parameters to configure.
as you can see I've tried setting
"args": ["-D", "DEBUG"],, but that sets the command line arguments for debug_mode.mojo.If this can only be done in another way, please can someone direct me to the path of enlightenment.
