-
Notifications
You must be signed in to change notification settings - Fork 72
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
Unable to debug javascript file #1362
Comments
This works on CI. |
I use Ubuntu 22.04. I disabled the firewall:
and I tested again but I had the same problem. With the old debug it worked, even with the firewall activated. Does the old debug use these large ports? |
@mickaelistria Can I specify the port? |
There is no option to specify the port, but if you're willing to debug Wild Web Developer, you can set a specific port in the code. |
@mickaelistria I'm going to up any server here on this port and check if I can access it. |
@mickaelistria I started a python server on the port and was able to access it. So it's not a network block: $ python3 -m http.server 46831 --bind 127.0.0.1
Serving HTTP on 127.0.0.1 port 46831 (http://127.0.0.1:46831/) ...
127.0.0.1 - - [11/Oct/2023 11:50:40] "GET / HTTP/1.1" 200 - |
The first step of the debugger is to run |
Is this
I didn't find the
As you can see in the command above, localhost resolve to 127.0.0.1
No:
|
@mickaelistria Is there a possibility that |
I would say everything is possible, but I've tried many times without being able to reproduce that particular problem, CI either, and @AndrewFerr as well; so it's a bit tricky to provide more support, sorry. |
I'll try to debug it from the source code. |
@mickaelistria I debugged here and the host that arrives at That doesn't work here. Do you have any tips on how to solve this problem? Could the WWD code force IPv4? Other users may have this same problem. |
I merged #1367 to hopefully fix this. Let's wait for CI to complete and please retry with latest build. |
@mickaelistria now I can make the debug. Thanks for the fix! However, I am experiencing strange behavior when the debug ends. I'll open another issue about this. |
@mickaelistria I had the same problem when I tried to use the
|
|
After PR #1174, I can no longer debug js files. I installed the latest snapshot and I'm not able to debug js files with this new debug. I created a simple js file, right clicked on the file and selected
Debug As -> Node Program
. Then I get an error window with the message:The console prints the message:
The message appears in the log:
The text was updated successfully, but these errors were encountered: