Unable to monitor http/https requests made by node

When I make a request I don’t see it in the developer tools. I can see the request only when it’s made with jquery or native xmlhttprequest.

I’ve binded console.log on the ‘end’ event and I can see that node-webkit is actually doing the request and it’s returning me a correct response. But doing these “blind requests” is very hard. May be i’m missing something? How can i debug native node http requests without console.log’ing them.
Thank you.

Author: Fantashit

1 thought on “Unable to monitor http/https requests made by node

  1. I came across that repo. It is just a API layer exposing devtools inside
    Chromium. The feature you want has to be done in Node — integrate http
    module with devtools.

    On Tue, Nov 8, 2016, 6:24 AM George Petrov notifications@github.com wrote:

    My bad about the v8_inspector – will check for the http monitoring with it
    when using the –inspect command line in node.

    But you should really check
    https://github.com/cyrus-and/chrome-remote-interface – it has the network
    monitoring in the very first sample…

    You are receiving this because you were mentioned.

    Reply to this email directly, view it on GitHub
    #5341 (comment), or mute
    the thread

Comments are closed.