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: Hello! A couple of quick questions: 1. What telnet client are you using? 2. Is your host an ASP.NET web application? We can't reproduce this with ClearScriptConsole, but you appear to be using ClearScript 5.4.1, which has known issues with the V8 debug agent in ASP.NET environments. Try switching to ClearScript 5.4.2. Here's what the telnet exchange should look like: ``` Type:connect V8-Version:3.30.33.16 Protocol-Version:1 Embedding-Host:ClearScriptConsole Content-Length:0 Content-Length:46 {"seq":0,"type":"request","command":"version"}Content-Length:121 {"seq":1,"type":"response","command":"version","success":true,"body":{"V8Version":"3.30.33.16"},"refs":[],"running":true} ``` Good luck!

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>