8881ec77ec
While working on #32274 I noticed that #32087 also impacted debugging experience in the external debuggers like VS Code - IDE attempts to load non-existent local sources for core libraries, instead of asking Service for their source. To resolve this I moved work-around we placed in stack trace formatting futher up the flow into kernel loader, which will now rewrite urls for all core library scripts as classes are being created. Bug: 32087 Change-Id: I2175a041e5fdcc9958bfccb2af724c37c2435f94 Reviewed-on: https://dart-review.googlesource.com/43021 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Vyacheslav Egorov <vegorov@google.com>