'How do i add &debug=true?

I'm doing a curl and I want to get more details about the errors, and for that I should use &debug=true but I dont know where to put it and how.

This is the curl that I'm using and which I want to get more details about the errors :

curl -s "localhost:9115/probe?target=http://linux.org&module=http_2xx" | grep -v '^#'


Solution 1:[1]

& is a separator; add debug=true just like you added module=http_2xx.

curl -s "localhost:9115/probe?target=http://linux.org&module=http_2xx&debug=true" | grep -v '^#'

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 chepner