"to print in the console debug information" (doc)
How can I see it? There is nothing in debug window, in console window.
#PB_HTTP_Debug flag
-
- New User
- Posts: 3
- Joined: Tue Jul 12, 2022 4:27 pm
Re: #PB_HTTP_Debug flag
There is no answer to my question?
Re: #PB_HTTP_Debug flag
I don't know which command uses that flag so I don't know the answer or understand your goal. Maybe post a snippet of code for us to see? That's the best way to get help so that we see the big picture of what you're trying to do.
-
- New User
- Posts: 3
- Joined: Tue Jul 12, 2022 4:27 pm
Re: #PB_HTTP_Debug flag
https://www.purebasic.com/documentation ... quest.html
The goal is to understand. I did not find any difference in operation with or without this flag
Re: #PB_HTTP_Debug flag
It does what it is written.
Use this code:
And choose 'console' in compiler settings.
Then press F5 in the IDE.
Use this code:
Code: Select all
Request = HTTPRequest(#PB_HTTP_Get, "https://www.purebasic.fr", "", #PB_HTTP_Debug)
If Request
FinishHTTP(Request)
EndIf
MessageRequester("Info", "Close this to terminate the program.")
Then press F5 in the IDE.
Re: #PB_HTTP_Debug flag
I've been looking for hours on how to use this flag (I read, re-read but misunderstood the help (console != Debug win), I'm getting old, my brain need update or WD40)
Console mode! yes!
Seeing the full HTTP dialog will greatly simplify my little command line programs.
Thank you infratec!
Console mode! yes!
Seeing the full HTTP dialog will greatly simplify my little command line programs.
Thank you infratec!