Closed
Description
It used to work with 8.10, but with 8.11 I get the following:
- to start debugging
docker run --expose 3000 -p 3000:3000 -it --rm --name my-running-script -v "$PWD":/usr/src/app -w /usr/src/app node:8.11.0 node --inspect-brk=0.0.0.0:3000 hello.js
- with http it works
MacKosyakov-2:hello kosyakov$ /usr/local/Cellar/curl/7.61.0/bin/curl "localhost:3000/json"
[ {
"description": "node.js instance",
"devtoolsFrontendUrl": "chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=172.17.0.2:3000/eeab7e7b-1e50-475d-bcd3-a73d3dd98aa7",
"faviconUrl": "https://nodejs.org/static/favicon.ico",
"id": "eeab7e7b-1e50-475d-bcd3-a73d3dd98aa7",
"title": "hello.js",
"type": "node",
"url": "file:///usr/src/app/hello.js",
"webSocketDebuggerUrl": "ws://172.17.0.2:3000/eeab7e7b-1e50-475d-bcd3-a73d3dd98aa7"
} ]
- with http2 it does not, with 8.10 results as with http
MacKosyakov-2:hello kosyakov$ /usr/local/Cellar/curl/7.61.0/bin/curl --http2 "localhost:3000/json"
WebSockets request was expected
Metadata
Metadata
Assignees
Labels
No labels