@hippy/debug-server-next
Version:
Debug server for hippy.
32 lines (22 loc) • 951 B
Markdown
# 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:
```javascript
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](./doc/deploy.md) to deploy your debug server.