pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

<small id='b5DpD'></small><noframes id='b5DpD'>

  • <i id='b5DpD'><tr id='b5DpD'><dt id='b5DpD'><q id='b5DpD'><span id='b5DpD'><b id='b5DpD'><form id='b5DpD'><ins id='b5DpD'></ins><ul id='b5DpD'></ul><sub id='b5DpD'></sub></form><legend id='b5DpD'></legend><bdo id='b5DpD'><pre id='b5DpD'><center id='b5DpD'></center></pre></bdo></b><th id='b5DpD'></th></span></q></dt></tr></i><div class="tilgwjc" id='b5DpD'><tfoot id='b5DpD'></tfoot><dl id='b5DpD'><fieldset id='b5DpD'></fieldset></dl></div>
      • <bdo id='b5DpD'></bdo><ul id='b5DpD'></ul>

        <legend id='b5DpD'><style id='b5DpD'><dir id='b5DpD'><q id='b5DpD'></q></dir></style></legend>
        <tfoot id='b5DpD'></tfoot>

        根據(jù)外部請(qǐng)求在 Netbeans 中啟動(dòng) XDebug

        Launch XDebug in Netbeans on an external request(根據(jù)外部請(qǐng)求在 Netbeans 中啟動(dòng) XDebug)

          <bdo id='SUL9J'></bdo><ul id='SUL9J'></ul>
              <tbody id='SUL9J'></tbody>
            <legend id='SUL9J'><style id='SUL9J'><dir id='SUL9J'><q id='SUL9J'></q></dir></style></legend>
            • <tfoot id='SUL9J'></tfoot>
            • <i id='SUL9J'><tr id='SUL9J'><dt id='SUL9J'><q id='SUL9J'><span id='SUL9J'><b id='SUL9J'><form id='SUL9J'><ins id='SUL9J'></ins><ul id='SUL9J'></ul><sub id='SUL9J'></sub></form><legend id='SUL9J'></legend><bdo id='SUL9J'><pre id='SUL9J'><center id='SUL9J'></center></pre></bdo></b><th id='SUL9J'></th></span></q></dt></tr></i><div class="s88feyv" id='SUL9J'><tfoot id='SUL9J'></tfoot><dl id='SUL9J'><fieldset id='SUL9J'></fieldset></dl></div>

                  <small id='SUL9J'></small><noframes id='SUL9J'>

                1. 本文介紹了根據(jù)外部請(qǐng)求在 Netbeans 中啟動(dòng) XDebug的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  我正在使用 Netbeans 6.7 和 XDebug 在我的機(jī)器上調(diào)試 PHP 站點(diǎn),從 Netbeans 內(nèi)啟動(dòng)請(qǐng)求(項(xiàng)目->調(diào)試).這很好用,而且非常有用.

                  I'm using Netbeans 6.7 and XDebug to debug a PHP site on my machine, launching the request from within Netbeans (Project->Debug). This works fine, and is very useful.

                  我的問(wèn)題是:是否可以將調(diào)試器附加到任何傳入的請(qǐng)求中,而不僅僅是我從 Netbeans 中啟動(dòng)的請(qǐng)求?

                  My question is: Is it possible to attach the debugger to any request that comes in, rather just those I launch from within Netbeans?

                  即,不是單擊調(diào)試",而是將 Netbeans 置于啟動(dòng)調(diào)試器并附加到進(jìn)入的下一個(gè)請(qǐng)求的模式中.

                  ie, instead of clicking "Debug", put Netbeans into a mode whereby the debugger is launched and attaches to the next request that comes in.

                  我覺(jué)得這可能是一個(gè)愚蠢的問(wèn)題,但如果可能的話,那就太好了.

                  I have a feeling this may be a stupid question, but if it is possible, that'd be great.

                  更多信息

                  我的系統(tǒng)(Ubuntu 9.04)設(shè)置如下:

                  My system (Ubuntu 9.04) is set up as follows:

                  /etc/php5/conf.d/xdebug.ini的內(nèi)容

                  zend_extension=/usr/lib/php5/20060613/xdebug.so
                  
                  xdebug.remote_enable=on
                  xdebug.remote_handler=dbgp
                  xdebug.remote_mode=req
                  xdebug.remote_host=localhost
                  xdebug.remote_port=9000
                  xdebug.idekey=netbeans-xdebug
                  

                  Netbeans PHP 調(diào)試選項(xiàng)為默認(rèn)值:

                  Netbeans PHP debugging options are at the defaults:

                  Debugger Port: 9000
                  Session ID: netbeans-xdebug
                  Stop at the First Line: ticked
                  

                  我的 /etc/hosts 文件將 www.mywebsite.com 重定向到 localhost

                  My /etc/hosts file redirects www.mywebsite.com to localhost

                  如果我單擊 Netbeans 中的調(diào)試按鈕,F(xiàn)irefox 將使用地址 http://www.mywebsite.com?XDEBUG_SESSION_START=netbeans-xdebug 啟動(dòng),并且調(diào)試器按預(yù)期工作.

                  If I click on the debug button in Netbeans, then Firefox is launched with the address http://www.mywebsite.com?XDEBUG_SESSION_START=netbeans-xdebug, and the debugger works as expected.

                  但如果我只是瀏覽到 http://www.mywebsite.com?XDEBUG_SESSION_START=netbeans-xdebug,這不會(huì)在 Netbeans 中啟動(dòng)調(diào)試器.

                  But if I just browse to http://www.mywebsite.com?XDEBUG_SESSION_START=netbeans-xdebug, this doesn't start the debugger in Netbeans.

                  我也試過(guò)設(shè)置 xdebug.remote_host=www.mywebsite.com ,但這沒(méi)什么區(qū)別.

                  I've also tried setting xdebug.remote_host=www.mywebsite.com , but that makes no difference.

                  此外,我已經(jīng)啟用了 xdebug.remote_log,它顯示了我從 netbeans 內(nèi)部啟動(dòng)時(shí)的信息,但沒(méi)有顯示外部請(qǐng)求的信息.所以我認(rèn)為 XDebug 根本沒(méi)有看到外部請(qǐng)求.

                  Also, I've enabled xdebug.remote_log, and that's showing information for when I start from within netbeans, but nothing for external requests. So I don't think XDebug is seeing the external requests at all.

                  推薦答案

                  轉(zhuǎn)到項(xiàng)目屬性 > 運(yùn)行配置 > 高級(jí) > 調(diào)試網(wǎng)址并檢查不要打開(kāi)網(wǎng)絡(luò)瀏覽器 (*).不要調(diào)試器代理下設(shè)置主機(jī).保存這些設(shè)置.在項(xiàng)目窗口中,在您的項(xiàng)目上:鼠標(biāo)右鍵單擊 > 調(diào)試(這將開(kāi)始偵聽(tīng)調(diào)試連接).沒(méi)有啟動(dòng)瀏覽器.在瀏覽器中輸入 http://www.mywebsite.com?XDEBUG_SESSION_START=netbeans-xdebug.它應(yīng)該在 netbeans 中崩潰.至少這就是這里發(fā)生的事情:)

                  go to project properties > run configuration > advanced > debug url and check do not open web browser (*). do not set the host under debugger proxy. save these settings. in the project window, on your project: right mouse click > debug (this starts listening for debug connections). no browser is started. enter http://www.mywebsite.com?XDEBUG_SESSION_START=netbeans-xdebug in your browser. it should break in netbeans. at least that's what happens here :)

                  (*) 你可能還需要設(shè)置一個(gè)路徑映射 - 對(duì)我來(lái)說(shuō),它不需要

                  (*) you might also have to set a path mapping - for me, it works without

                  這篇關(guān)于根據(jù)外部請(qǐng)求在 Netbeans 中啟動(dòng) XDebug的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  MySQLi prepared statement amp; foreach loop(MySQLi準(zhǔn)備好的語(yǔ)句amp;foreach 循環(huán))
                  Is mysqli_insert_id() gets record from whole server or from same user?(mysqli_insert_id() 是從整個(gè)服務(wù)器還是從同一用戶獲取記錄?)
                  PHP MySQLi doesn#39;t recognize login info(PHP MySQLi 無(wú)法識(shí)別登錄信息)
                  mysqli_select_db() expects exactly 2 parameters(mysqli_select_db() 需要 2 個(gè)參數(shù))
                  Php mysql pdo query: fill up variable with query result(Php mysql pdo 查詢:用查詢結(jié)果填充變量)
                  MySQLI 28000/1045 Access denied for user #39;root#39;@#39;localhost#39;(MySQLI 28000/1045 用戶“root@“l(fā)ocalhost的訪問(wèn)被拒絕)
                  <legend id='lpYhf'><style id='lpYhf'><dir id='lpYhf'><q id='lpYhf'></q></dir></style></legend>

                2. <tfoot id='lpYhf'></tfoot>
                        <bdo id='lpYhf'></bdo><ul id='lpYhf'></ul>
                          <tbody id='lpYhf'></tbody>

                        1. <i id='lpYhf'><tr id='lpYhf'><dt id='lpYhf'><q id='lpYhf'><span id='lpYhf'><b id='lpYhf'><form id='lpYhf'><ins id='lpYhf'></ins><ul id='lpYhf'></ul><sub id='lpYhf'></sub></form><legend id='lpYhf'></legend><bdo id='lpYhf'><pre id='lpYhf'><center id='lpYhf'></center></pre></bdo></b><th id='lpYhf'></th></span></q></dt></tr></i><div class="qcuozex" id='lpYhf'><tfoot id='lpYhf'></tfoot><dl id='lpYhf'><fieldset id='lpYhf'></fieldset></dl></div>
                          • <small id='lpYhf'></small><noframes id='lpYhf'>

                            主站蜘蛛池模板: SMC-SMC电磁阀-日本SMC气缸-SMC气动元件展示网 | 滚筒线,链板线,总装线,流水线-上海体能机电有限公司 | 耐高温电缆厂家-远洋高温电缆 | 铁艺,仿竹,竹节,护栏,围栏,篱笆,栅栏,栏杆,护栏网,网围栏,厂家 - 河北稳重金属丝网制品有限公司 山东太阳能路灯厂家-庭院灯生产厂家-济南晟启灯饰有限公司 | 塑料熔指仪-塑料熔融指数仪-熔体流动速率试验机-广东宏拓仪器科技有限公司 | 实战IT培训机构_IT培训班选大学生IT技术培训中心_中公优就业 | 广州监控安装公司_远程监控_安防弱电工程_无线wifi覆盖_泉威安防科技 | PC构件-PC预制构件-构件设计-建筑预制构件-PC构件厂-锦萧新材料科技(浙江)股份有限公司 | 石家庄网站建设|石家庄网站制作|石家庄小程序开发|石家庄微信开发|网站建设公司|网站制作公司|微信小程序开发|手机APP开发|软件开发 | 游动电流仪-流通式浊度分析仪-杰普仪器(上海)有限公司 | 丽陂特官网_手机信号屏蔽器_Wifi信号干扰器厂家_学校考场工厂会议室屏蔽仪 | 高柔性拖链电缆_卷筒电缆_耐磨耐折聚氨酯电缆-玖泰特种电缆 | _网名词典_网名大全_qq网名_情侣网名_个性网名| 石牌坊价格石牌坊雕刻制作_石雕牌坊牌楼石栏杆厂家_山东嘉祥石雕有限公司 | 软启动器-上海能曼电气有限公司 真空搅拌机-行星搅拌机-双行星动力混合机-广州市番禺区源创化工设备厂 | 猪I型/II型胶原-五克隆合剂-细胞冻存培养基-北京博蕾德科技发展有限公司 | 螺杆泵_中成泵业 | 北京公积金代办/租房发票/租房备案-北京金鼎源公积金提取服务中心 | 山东石英砂过滤器,除氟过滤器「价格低」-淄博胜达水处理 | 海鲜池-专注海鲜鱼缸、移动海鲜缸、饭店鱼缸设计定做-日晟水族厂家 | 红外光谱仪维修_二手红外光谱仪_红外压片机_红外附件-天津博精仪器 | 无线遥控更衣吊篮_IC卡更衣吊篮_电动更衣吊篮配件_煤矿更衣吊篮-力得电子 | 澳威全屋定制官网|极简衣柜十大品牌|衣柜加盟代理|全屋定制招商 百度爱采购运营研究社社群-店铺托管-爱采购代运营-良言多米网络公司 | 破碎机_上海破碎机_破碎机设备_破碎机厂家-上海山卓重工机械有限公司 | 不锈钢闸阀_球阀_蝶阀_止回阀_调节阀_截止阀-可拉伐阀门(上海)有限公司 | 高柔性拖链电缆_卷筒电缆_耐磨耐折聚氨酯电缆-玖泰特种电缆 | 400电话_400电话申请_888元包年_400电话办理服务中心_400VIP网 | 百度网站优化,关键词排名,SEO优化-搜索引擎营销推广 | 浙江皓格药业有限公司| 聚合氯化铝-碱式氯化铝-聚合硫酸铁-聚氯化铝铁生产厂家多少钱一吨-聚丙烯酰胺价格_河南浩博净水材料有限公司 | 无线对讲-无线对讲系统解决方案-重庆畅博通信 | 手术室净化装修-手术室净化工程公司-华锐手术室净化厂家 | 井式炉-台车式回火炉-丹阳市电炉厂有限公司| 低压载波电能表-单相导轨式电能表-华邦电力科技股份有限公司-智能物联网综合管理平台 | 黑龙江「京科脑康」医院-哈尔滨失眠医院_哈尔滨治疗抑郁症医院_哈尔滨精神心理医院 | 电磁铁_推拉电磁铁_机械手电磁吸盘电磁铁厂家-广州思德隆电子公司 | 橡胶弹簧|复合弹簧|橡胶球|振动筛配件-新乡市永鑫橡胶厂 | 咖啡加盟,咖啡店加盟连锁品牌-卡小逗 | 立式硫化罐-劳保用品硫化罐-厂家直销-山东鑫泰鑫硫化罐厂家 | 冷油器-冷油器换管改造-连云港灵动列管式冷油器生产厂家 | 珠海白蚁防治_珠海灭鼠_珠海杀虫灭鼠_珠海灭蟑螂_珠海酒店消杀_珠海工厂杀虫灭鼠_立净虫控防治服务有限公司 |