Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public async variables(/* args?: DebugProtocol.VariablesArguments */): Promise {
if (this._session) {
const variables = await this._session.variables();
return truffleDebugUtils.nativize(variables);
} else {
return Promise.resolve({});
}
}