I know this is off-topic, but just to answer to your question.
If I have this code:
@Component({
selector: 'app-root',
templateUrl: 'app.component.html'
})
export class AppComponent {
...
myTestClassVariable: number;
constructor(
private platform: Platform,
.....
) {
this.initializeApp();
this.myTestClassVariable = 5;
}
initializeApp() {
const context = this;
context.settings.initAppSettings();
context.platform.ready().then(() => {
console.log(this.myTestClassVariable);
debugger;
...
}
}
}
When Chrome stops at the breakpoint I have this situation:
!
and:
!