Debugging Angular 4 from Chrome console

Right click and inspect the element(component) you want to debug.

Then you can go to console and access the component variable by

ng.probe($0).componentInstance


When you want to detect UI changes

ng.probe($0).injector._depProvider.componentView.changeDetector.detectChanges()



Sourcce: https://dzone.com/articles/debugging-angular-2-applications-from-the-console

Dovecot custom certificate per each ip

You can add:


local 1.2.3.4 {
ssl_cert = </etc/ssl/domains/domain.com.cert
ssl_key = </etc/ssl/domains/domain.com.key
ssl_ca = </etc/ssl/domains/domain.com.cacert
}


in your 10-ssl.conf so you can have different cert despite the default one.