Debugging Dart WebApp with Launch Destination "URL"

I am using Dart Editor r22223 to debug WebApp. If I started the debugging work of HTML files, but if I open the HTML at the URL (in my case http://localhost:8080/samplewebappohnewebui.html ), then debugging seems impossible.

I can set breakpoints, but the debugger does not stop at breakpoints.

Any clues?

[Update]
The reason for serving the HTML file on the 8080 is that the HTML file is created by Velocity ...

[Update 2]
SS Eclipse OK - I added my Dev configuration. In the background, Eclipse runs Jetty on the 8080, but I use Eclipse only for Java stuff, not Dart. For Dart, I use the Dart-Editor.

[Update 3]
enter image description here

[Update 4]
The console shows the message on clicks, but the breakpoint does not stop the program on line 16 ...

enter image description here

+1
dart remote-debugging
May 03 '13 at 12:18
source share
1 answer

Seems like issue is not really fixed.

As a workaround, you can serve the page with the same URL as the usual “launch” (the “HTML file” field in the launch configuration) In your case, it will be http://localhost:8080/JRelais.Server.REST/WebContent/samplewebappohnewebui.html‌​

I also filed a new bug report addressing this issue, since I don't think the old one will ever be reopened.

+2
May 03 '13 at 21:37
source share



All Articles