RunTime Debugging

Table of Contents

Unlike other templating engines, Edge does a fantastic job in letting you debug your views at runtime using Chrome devtools.

Since your views are compiled to a javascript function, Edge makes sure the compiled template is readable and thus easier to debug.

Basic Example

In order to debug your template, you can make use of @debugger keyword. Make sure @debugger is the only statement on a given line.

@debugger and some content
and some content

Also check out the following video to see debugging in action