-
Notifications
You must be signed in to change notification settings - Fork 344
Description
I had a quick play around with the Debugger for Chrome extension in a branch today (web) and using pub serve. Seems like it's not hard to launch pub serve and then start a debug session using the other extension (if installed; otherwise show an error).
We need Code 1.15 in order to hook the debug session ending to terminate pub serve, but that's not too far off.
However, while working on this I started wondering about people writing a backend in Dart - is pub serve the correct thing here? Will they also need us to run dart bin/server.dart to run their backend? Would this be instead of pub serve or as well as? Having two endpoint seems a bit weird but a custom web server/backend isn't going to be compiling the frontend/providing source maps, etc.
@devoncarew Do you have any thoughts on this? How common is launching for a Dart web server as well the frontend app? If other IDEs support this, how is it normally configured?