mirror of https://github.com/nodejs/node.git
15 lines
343 B
JavaScript
15 lines
343 B
JavaScript
'use strict';
|
|
|
|
const inspector = require('inspector');
|
|
const { promisify } = require('internal/util');
|
|
|
|
class Session extends inspector.Session {
|
|
constructor() { super(); } // eslint-disable-line no-useless-constructor
|
|
}
|
|
Session.prototype.post = promisify(inspector.Session.prototype.post);
|
|
|
|
module.exports = {
|
|
...inspector,
|
|
Session,
|
|
};
|