Binds the Vite dev server to the LAN (server.host = true) so other devices can
reach it, and prints the network URL + a scannable QR code once the server is
listening. HTTPS itself is provided by @vitejs/plugin-basic-ssl, which
needlePlugins adds to the plugin array when remote is enabled (WebXR and
other secure‑context features on the device require https).
The page's console / errors / device info already stream back to the dev server
via the Needle logger (needleLogger + logger.client.js) over Vite's
websocket, landing in node_modules/.needle/logs/latest.client.needle.log. This
plugin is read‑only: it does not (yet) inject commands back into the page.
Remote debugging plugin.
Binds the Vite dev server to the LAN (
server.host = true) so other devices can reach it, and prints the network URL + a scannable QR code once the server is listening. HTTPS itself is provided by@vitejs/plugin-basic-ssl, which needlePlugins adds to the plugin array when remote is enabled (WebXR and other secure‑context features on the device require https).The page's console / errors / device info already stream back to the dev server via the Needle logger (
needleLogger+logger.client.js) over Vite's websocket, landing innode_modules/.needle/logs/latest.client.needle.log. This plugin is read‑only: it does not (yet) inject commands back into the page.