How to install wget with debug support?


(T9m2LwmFV1) #1

The default installation of wget does not support -d. How to install wget with debug support? Thanks.

$ wget -d -o/tmp/log -qO- http://httpbin.org/get
Debugging support not compiled in. Ignoring --debug flag.


(Jacob Ledbetter) #2
brew reinstall wget --with-debug

If you look at brew info wget it will show you what options it has to reinstall with.