There’s a neat way to debug how routing works in Angular 4. The router module has in-built tracing support…