-
Notifications
You must be signed in to change notification settings - Fork 64
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
Connection refused while using Nvim DAP #306
Comments
After tinkering around a bit, I found that after launching, I can connect to the server with the attach configuration: {
name = "Debug with Firefox - Attach",
type = "firefox",
request = "attach",
reAttach = true,
host = "127.0.0.1",
url = "http://localhost:3000",
webRoot = "${workspaceFolder}",
},
I can access the repl, but setting breakpoints doesn't do anything (it does display an "R" in the column as opposed to a B in other debuggers). |
I've had the same experience as you, have you come around this issue? @joshpetit |
Sadly no, I couldn't find a work around, but the debugger in the Firefox console works so you can step through that, but not in your preferred editor. |
@joshpetit @andresestrella I had the same problem. Try an older version of node. I think the issue is newer node versions default requests to IPv6 (::1 is the IPv6 loopback), but Firefox opens the port 6000 on IPv4. |
With |
Is there a fix for this? I started using VS code yesterday and immediately ran into this problem. |
fix #306 (comment) |
Hey! I'm trying to debug in firefox, but every time I try running I receive this error:
Error on launch: connect ECONNREFUSED ::1:6000
I verified the debug server is running on port 6000 by running
lsof -i 6000
and my configuration looks like this:Then the launch configuration:
I have all the necessary
about:config
variables set, but the connection is always refused, is there something I have to change?The text was updated successfully, but these errors were encountered: