Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

Commented Unassigned: V8 Debug agent not functioning? [82]

0
0
A basic test using "telnet 127.0.0.1 9222" gives:

```
Type:connect
V8-Version:3.30.33.16
Protocol-Version:1
Embedding-Host:CodeTools
Content-Length:0
```

Then enter:

```
Content-Length:46

{"seq":0,"type":"request","command":"version"}
```
I get no response from the debug agent.

Is this basic test valid?

Comments: Thanks for the quick response! I tried ClearScript 5.4.2 and had the same results. However I realised that my javascript was calling a blocking C# method which I expose from the host, and it was during this blocking when I was trying to connect to the debug agent. Of course the debug agent wouldn't respond. It's working great now thank you. Kind regards

Viewing all articles
Browse latest Browse all 2297