Improve debug logging by printing character codes
This commit is contained in:
@@ -54,7 +54,7 @@ export class CoreService implements ICoreService {
|
||||
}
|
||||
|
||||
// Fire onData API
|
||||
this._logService.debug('sending data', data);
|
||||
this._logService.debug(`sending data "${data}"`, data.split('').map(e => e.charCodeAt(0)));
|
||||
this._onData.fire(data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user