@hippy/debug-server-next
v0.5.2
Published
Debug server for hippy.
Downloads
254
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.
npm install -g @hippy/debug-server-next # Install
cd hippy-react-demo # Change to a hippy-react project folder.
hippy-debug # Start the debug server
If 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.