Module paths

Module paths 

Source
Expand description

Cross-platform socket and configuration paths

Unix/macOS: Uses Unix domain sockets at $XDG_RUNTIME_DIR or /tmp Windows: Uses named pipes at \.\pipe\debugger-cli-

Functionsยง

config_dir
Get the configuration directory path
config_path
Get the path to the configuration file
ensure_config_dir
Ensure the configuration directory exists
ensure_socket_dir
Ensure the socket directory exists with proper permissions
log_dir
Get the path to the log directory
remove_socket
Remove the socket file if it exists (for cleanup)
socket_name
Get the socket name for interprocess LocalSocketName
socket_path
Get the socket/pipe path for IPC communication