mirror of
https://github.com/denoland/deno.git
synced 2025-01-10 08:09:06 -05:00
20 lines
484 B
JavaScript
20 lines
484 B
JavaScript
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
|
|
|
|
import inspector from "node:inspector";
|
|
import { promisify } from "ext:deno_node/internal/util.mjs";
|
|
|
|
class Session extends inspector.Session {
|
|
constructor() {
|
|
super();
|
|
}
|
|
}
|
|
Session.prototype.post = promisify(inspector.Session.prototype.post);
|
|
|
|
export * from "node:inspector";
|
|
export { Session };
|
|
|
|
export default {
|
|
...inspector,
|
|
Session,
|
|
};
|