# Debugging

# Start the server

$ macaca server --verbose
# Use the Node.js REPL environment directly
$ node
// run sample code
> const wd = require('wd');
> const driver = wd.promiseChainRemote({
    host: 'localhost',
    port: 3456
  });

> driver.init({
    platformName: 'ios',
    platformVersion: '9.3',
    deviceName: 'iPhone 6s',
    app: 'path/to/app'
  });

More About Node.js Inspector

Last Updated: 12/31/2018, 4:41:23 AM