session.disconnect()
立即关闭会话。
所有挂起的消息回调都将使用错误调用。
需要调用 session.connect()
才能再次发送消息。
重新连接的会话将丢失所有检查器状态,例如启用的代理或配置的断点。
Immediately close the session. All pending message callbacks will be called
with an error. session.connect()
will need to be called to be able to send
messages again. Reconnected session will lose all inspector state, such as
enabled agents or configured breakpoints.