In google3, the buildSettings are not actually created until the app's entrypoint is loaded, which means that this was throwing a null-pointer exception.
Instead, we send the dwds launch event only once we have a debug connection with the app (which ensures that we have loaded the entrypoint).
Follow up to https://github.com/dart-lang/webdev/pull/2418
In google3, the buildSettings are not actually created until the app's entrypoint is loaded, which means that this was throwing a null-pointer exception.
Instead, we send the dwds launch event only once we have a debug connection with the app (which ensures that we have loaded the entrypoint).