Hello all,
since the last topics covering debug variables are dated 10 and 20 years ago, I will risk a new thread on this.
I am developing a module inside a grass branch and am running it from vscode to exploit the debugger in the IDE. To do so I am passing via launch.json (for those who use vscode) all necessary env variables. So far my tests look good.
What I am not yet able to do though, is to get the debug messages working.
Is it enough to set the env variable
DEBUG=3
in order to make a message like:
G_debug(3, “Hello”)
appear on the terminal?
While G_message prints to terminal, I am not able to see debug messages.
Hello all,
since the last topics covering debug variables are dated 10 and 20 years ago, I will risk a new thread on this.
I am developing a module inside a grass branch and am running it from vscode to exploit the debugger in the IDE. To do so I am passing via launch.json (for those who use vscode) all necessary env variables. So far my tests look good.
What I am not yet able to do though, is to get the debug messages working.
Is it enough to set the env variable
DEBUG=3
in order to make a message like:
G_debug(3, “Hello”)
appear on the terminal?
While G_message prints to terminal, I am not able to see debug messages.