I'm having trouble getting to ELPA behind our corporate proxy. I see proxy traffic attempting to CONNECT
to the ELPA domain which then fails. How can I turn on debugging to see the exact URL that Emacs is trying to access? -debug-init
didn't work for me with Emacs 27.1
1 Answer
There is a variable for debugging URL calls, url-debug
, set it to true:
(setq url-debug t)
Use the function url-retrieve-synchronously
, this will create a debug buffer called *URL-DEBUG* and there you can see all the debug output from the call:
(url-retrieve-synchronously (url-generic-parse-url "https://elpa.gnu.org/"))
-
thanks for your help. It wasn't as useful as I've hoped. I posted a follow up question, which I was hoping you might take a look at: emacs.stackexchange.com/questions/60228/… Aug 19, 2020 at 21:11