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

Error in starting "Chrome Debug" #696

Open
sujai1009 opened this issue Jul 2, 2021 · 3 comments
Open

Error in starting "Chrome Debug" #696

sujai1009 opened this issue Jul 2, 2021 · 3 comments

Comments

@sujai1009
Copy link

sujai1009 commented Jul 2, 2021

Hi Team

I started my node app in debug mode.
Debugger listening on ws://127.0.0.1:9222/6aa910ac-e441-477c-83ee-ec51045b86af

But when i connect my eclipse to the debugger, using "Chrome Debug" i got an error "Unknown Exception
Screenshot 2021-07-02 at 12 22 50 PM
"

To client: {"seq":0,"type":"response","request_seq":2,"command":"launch","success":false,"message":"Cannot connect to runtime process, timeout after 10000 ms - (reason: Can't find a valid target that matches: undefined. Available pages: ["file:///server/server.js"]).","body":{"error":{"id":2010,"format":"Cannot connect to runtime process, timeout after {_timeout} ms - (reason: {_error}).","variables":{"_error":"Can't find a valid target that matches: undefined. Available pages: ["file:////server/server.js"]","_timeout":"10000"}}}}

Kindly help me in resolving this.

@mickaelistria
Copy link
Contributor

Have you tried to connect as a "Running Node Application" ?

@sujai1009
Copy link
Author

Its working as "Running Node Application".. but not properly picking the .env/webpack.
So trying in Chrome debug option

@wesleybl
Copy link

@sujai1009 maybe this problem was fixed by #1306

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