disable xdebug in rpc output

If xdebug is installed on the computer, rpc output contains all xdebug output, which shows all errors (e.g. missing method arguments). This looks like the following:

    You are authenticated
    > ls
    [AJAX] parsererror - Server reponse is: 
    <br />
    <font size='1'><table class='xdebug-error xe-warning' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
    <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Warning: Missing argument 2
     for Demo::ls() in /var/www/github/jquery.terminal/examples/json-rpc-service-demo.php on line <i>19</i></th></tr>
    <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
    <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeee
    ec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
    <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>333216</td><td bgcolor='#eeeeec'>{main}(  )<
    /td><td title='/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php' bgcolor='#eeeeec'>../json-rpc-service-demo.php<b>:</b>0</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>333728</td><td bgcolor='#eeeeec'>hand
    le_json_rpc(  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php' bgcolor='#eeeeec'>../json-rpc-service-demo.php<b>:</b>47</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>336048</td><td bgcolor='#eeeeec'><a href='ht
    tp://www.php.net/call_user_func_array' target='_new'>call_user_func_array</a>
    (  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc.php' bgcolor='#eeeeec'>../json-rpc.php<b>:</b>199</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>336300</td><td bgcolor='#eeeeec'>Demo->ls(  
    )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc.php' bgcolor='#eeeeec'>../json-rpc.php<b>:</b>199</td></tr>
    </table></font>
    <br />
    <font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
    <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Undefined variable: path i
    n /var/www/github/jquery.terminal/examples/json-rpc-service-demo.php on line <i>21</i></th></tr>
    <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
    <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Fun
    ction</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
    <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>333216</td><td bgcolor='#eeeeec'>{mai
    n}(  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php' bgcolor='#eeeeec'>../json-rpc-service-demo.php<b>:</b>0</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>333728</td><td bgcolor='#eeeeec'>handle_json
    _rpc(  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php' bgcolor='#eeeeec'>../json-rpc-service-demo.php<b>:</b>47</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>336048</td><td bgcolor='#eeeeec'><a h
    ref='http://www.php.net/call_user_func_array' target='_new'>call_user_func_array</a>
    (  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc.php' bgcolor='#eeeeec'>../json-rpc.php<b>:</b>199</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>336300</td><td bgcolor='#eeeeec'>Demo
    ->ls(  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc.php' bgcolor='#eeeeec'>../json-rpc.php<b>:</b>199</td></tr>
    </table></font>
    <br />
    <font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
    <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Undefined variable:
     path in /var/www/github/jquery.terminal/examples/json-rpc-service-demo.php on line <i>25</i></th></tr>
    <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
    <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeee
    ec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
    <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>333216</td><td bgcolor='#eeeeec'>{main}(  )<
    /td><td title='/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php' bgcolor='#eeeeec'>../json-rpc-service-demo.php<b>:</b>0</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>333728</td><td bgcolor='#eeeeec'>hand
    le_json_rpc(  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php' bgcolor='#eeeeec'>../json-rpc-service-demo.php<b>:</b>47</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>336048</td><td bgcolor='#eeeeec'><a href='ht
    tp://www.php.net/call_user_func_array' target='_new'>call_user_func_array</a>
    (  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc.php' bgcolor='#eeeeec'>../json-rpc.php<b>:</b>199</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>336300</td><td bgcolor='#eeeeec'>Demo->ls(  
    )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc.php' bgcolor='#eeeeec'>../json-rpc.php<b>:</b>199</td></tr>
    </table></font>
    <br />
    <font size='1'><table class='xdebug-error xe-notice' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
    <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Undefined variable: path i
    n /var/www/github/jquery.terminal/examples/json-rpc-service-demo.php on line <i>25</i></th></tr>
    <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
    <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Fun
    ction</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
    <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>333216</td><td bgcolor='#eeeeec'>{mai
    n}(  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php' bgcolor='#eeeeec'>../json-rpc-service-demo.php<b>:</b>0</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>333728</td><td bgcolor='#eeeeec'>handle_json
    _rpc(  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php' bgcolor='#eeeeec'>../json-rpc-service-demo.php<b>:</b>47</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>336048</td><td bgcolor='#eeeeec'><a h
    ref='http://www.php.net/call_user_func_array' target='_new'>call_user_func_array</a>
    (  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc.php' bgcolor='#eeeeec'>../json-rpc.php<b>:</b>199</td></tr>
    <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>336300</td><td bgcolor='#eeeeec'>Demo
    ->ls(  )</td><td title='/var/www/github/jquery.terminal/examples/json-rpc.php' bgcolor='#eeeeec'>../json-rpc.php<b>:</b>199</td></tr>
    </table></font>
    {"jsonrpc":"2.0","result":["json-rpc-service-demo.php","mysql-rpc-demo.php","json-rpc.php","multiply-interpreters-demo.html","rpc-demo.html","tilda-demo.html"],
    "id":1,"error":null}

It is displayed in red in the jquery terminal. After xdebug disable is added, the output is a lot smaller and more readable:

    > ls
    [AJAX] parsererror - Server reponse is: 
    <br />
    <b>Warning</b>:  Missing argument 2 for Demo::ls() in <b>/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php</b> on line <b>21</b><br />
    <br />
    <b>Notice</b>:  Undefined variable: path in <b>/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php</b> on line <b>23</b><br />
    <br />
    <b>Notice</b>:  Undefined variable: path in <b>/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php</b> on line <b>27</b><br />
    <br />
    <b>Notice</b>:  Undefined variable: path in <b>/var/www/github/jquery.terminal/examples/json-rpc-service-demo.php</b> on line <b>27</b><br />
    {"jsonrpc":"2.0","result":["json-rpc-service-demo.php","mysql-rpc-demo.php","json-rpc.php","multiply-interpreters-demo.html","rpc-demo.html","tilda-demo.html"],
    "id":2,"error":null}

Missing arguments are another issue.