#[non_exhaustive]pub enum DevToolsMessage {
Listening,
ListeningWs,
}👎Deprecated since 0.2.2: This is no longer necessary due to the NodeCliInspect fuse’s functionality.
Expand description
List of known developer tool command line messages that can be written to stdout by Node.JS during debugging.
§Warning
Disabling these is a worst-case fallback protection against internal changes to the way that Chromium/Electron/Node.JS handle parsing command line arguments. If something is changed and a debugging flag slips through, modifying one of these will cause the application to trigger a segemntation fault and be terminated by the OS, exiting immediately.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Listening
👎Deprecated since 0.2.2: This is no longer necessary due to the NodeCliInspect fuse’s functionality.
The message printed to standard out when Node.JS listens on TCP port.
Ex: Debugger listening on 127.0.0.1:9229/uuid
ListeningWs
👎Deprecated since 0.2.2: This is no longer necessary due to the NodeCliInspect fuse’s functionality.
The message printed to standard out when Node.JS listens on a websocket.
Ex: Debugger listening on ws://127.0.0.1:9229/uuid
Trait Implementations§
Source§impl Clone for DevToolsMessage
impl Clone for DevToolsMessage
Source§fn clone(&self) -> DevToolsMessage
fn clone(&self) -> DevToolsMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DevToolsMessage
impl Debug for DevToolsMessage
Source§impl PartialEq for DevToolsMessage
impl PartialEq for DevToolsMessage
impl Copy for DevToolsMessage
impl Eq for DevToolsMessage
impl Patchable for DevToolsMessage
impl StructuralPartialEq for DevToolsMessage
Auto Trait Implementations§
impl Freeze for DevToolsMessage
impl RefUnwindSafe for DevToolsMessage
impl Send for DevToolsMessage
impl Sync for DevToolsMessage
impl Unpin for DevToolsMessage
impl UnwindSafe for DevToolsMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more