Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to connect? #3

Open
ygoe opened this issue Oct 9, 2018 · 2 comments
Open

How to connect? #3

ygoe opened this issue Oct 9, 2018 · 2 comments

Comments

@ygoe
Copy link

ygoe commented Oct 9, 2018

I can generate a runtime and use it in a .NET Core 2.1 application. But where should I connect? Obviously, ws://... is not the URL to go to. I've tried with ws://localhost:9223 but whatever I try to do, I get an HTTP 404 exception. Please advice. I have never used Chrome DevTools before but now need it to have chrome print a web page to a PDF file for another application.

@ygoe
Copy link
Author

ygoe commented Oct 9, 2018

Turns out I first have to fetch JSON documents from http://localhost:9223/json and http://localhost:9223/json/version to get webSocketDebuggerUrl values I can connect to. Very confusing. Had to put together numerous web search fragments to find this out. Shouldn't this be in the very first example?

@Oceanswave
Copy link
Member

Hi! The example here includes this, but I'll make the documentation a bit better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants