Client-side debugging

Another great advantage of Observables is that we can use them to debug a good part of the whole Reactive workflow by placing breakpoints within our subscriptions source code. To quickly demonstrate this, just add a Visual Studio breakpoint on our latest subscription, as follows:

Once done, run the project in debug mode and navigate to the QuestionEditComponent; the breakpoint will be hit as soon as the Form Module will be loaded, since the Text control will be updated as well, and also every time we perform a change to that control. Whenever it happens, we'll be able to use all the Visual Studio debugging tools and features ...

Get ASP.NET Core 2 and Angular 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.