Debug Diff

This commit is contained in:
Natsumi
2021-09-29 23:59:57 +13:00
parent 67a54c6965
commit c739628b41

View File

@@ -1435,6 +1435,9 @@ speechSynthesis.getVoices();
ref,
props
});
if (this.debugDiff) {
console.log('>', ref.displayName, props);
}
}
}
return ref;
@@ -4065,6 +4068,7 @@ speechSynthesis.getVoices();
$app.data.debug = false;
$app.data.debugWebRequests = false;
$app.data.debugWebSocket = false;
$app.data.debugDiff = false;
$app.data.APILastOnline = new Map();
@@ -15600,7 +15604,12 @@ speechSynthesis.getVoices();
$app.methods.showConsole = function () {
AppApi.ShowDevTools();
if (this.debug || this.debugWebRequests || this.debugWebSocket) {
if (
this.debug ||
this.debugWebRequests ||
this.debugWebSocket ||
this.debugDiff
) {
return;
}
console.log(