# 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'
});