@extscreen/es3-debug-server
v3.0.5
Published
Debug server for hippy.
Downloads
196
Readme
Hippy Debug Server
The package provide the debug server communicated with native(Android apk or iOS Simulator) and the local web development.
Usage
@hippy/debug-server-next can be installed globally, but install to local in most case.
Dev mode requires webpack 5+.
If you use
--bundler vite, installvitein your project first.
Start dev server with webpack (default):
hippy-dev --config ./scripts/quicktvui-webpack.dev.jsStart dev server with vite:
hippy-dev --bundler vite --config ./scripts/quicktvui-vite.dev.jsRun smoke checks against a running debug server:
npm run smoke:dev-runtime -- --base-url http://127.0.0.1:38989npm install -g @hippy/debug-server-next # Install
cd hippy-react-demo # Change to a hippy-react project folder.
hippy-debug # Start the debug serverIf you use custom cli, you could customize like this:
const { webpack, startDebugServer } = require('@hippy/debug-server-next');
// start hippy dev with HMR supported
webpack(webpackConfig, (err, stats) => {
// add you custom callback here...
});
// start hippy debug
startDebugServer();Private Deployment
If you want to use remote debug, you could follow this doc to deploy your debug server.
