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

App debug in VS Code #47

Open
danilotomaccio opened this issue Oct 23, 2020 · 2 comments
Open

App debug in VS Code #47

danilotomaccio opened this issue Oct 23, 2020 · 2 comments

Comments

@danilotomaccio
Copy link

In addition to the chrome://inspect page it is possible to debug directly in VS Code with the following configuration in the launch.json file:

{
      "name": "Attach to Chrome",
      "address": "<Google Home address>",
      "port": 9222,
      "request": "attach",
      "type": "chrome",
      "webRoot": "${workspaceFolder}/app",
      "urlFilter": "<app server>/web/index.html?"
}
@proppy
Copy link
Collaborator

proppy commented Jan 21, 2021

Nice, thanks for sharing!

@danagibson
Copy link

danagibson commented Jul 8, 2021

Maybe you could help a guy out by explaining what goes in "Google Home Address" and "app server? I've put the address that I found that looks like the app server (but that is my hyper-v ethernet adapter). I'm confused. If someone could expand the explanation here I would appreciate it. Also the Chrome:Inspect page is confusing...I don't see what's going on there either. I find ":8080/web/index.html?" The issue I'm having now is that there is an issue in gstatic.com/eureka/smarthome/smarthome_sdk.js any advice?

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

3 participants