Add back testUtilities.debug

This commit is contained in:
trevor-signal 2024-07-02 15:56:40 -04:00 committed by GitHub
parent 3ff9b87a22
commit 0ab8ec34d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 0 deletions

View file

@ -123,6 +123,14 @@ async function launchElectron(attempt: number): Promise<void> {
const match = line.match(/^ci:test-electron:event=(.*)/);
if (!match) {
const debugMatch = line.match(/ci:test-electron:debug=(.*)?/);
if (debugMatch) {
try {
console.log('DEBUG:', JSON.parse(debugMatch[1]));
} catch {
// pass
}
}
return;
}