On Tuesday, May 21, 2013 11:57:48 AM UTC+2, Gabriel Petrovay wrote: > As I detailed in this issue: https://github.com/joyent/node/issues/5512 > > the V8 debugger does not respond with a body (or it hangs somewhere). > > Any ideas why? >
V8 debugger protocol is not HTTP where a request is immediately responded. It works asynchronously instead - you send some messages to V8, V8 send some other messages back, there are usual more messages from V8 than the requests sent. Now why are you not seeing the response you are expecting? The first thing V8 does upon accepting a new connection is to send back a "connect" message with no payload, which is what curl is showing. Response to your request would be the second message coming from V8, if there was such a thing as two responses for a single request in HTTP. I would recommend you to either use telnet instead of curl (don't forget to compute content-length of your messages) or use an existing debugger client, e.g. https://github.com/dannycoates/node-inspector/blob/master/lib/debugger.js Miroslav -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
