TAILIEUCHUNG - Publishing PHP eclipse - part 12

Làm việc Directory là điền sẵn, nhưng không được sử dụng. Tab này yêu cầu các thông số thông dịch viên và các thông số đầu vào tập tin. Nếu bạn đang làm PHP kịch bản dòng lệnh, bạn có thể thêm đối số ở đây. Nhấp vào tab Môi trường đầu tiên để tiếp tục (có hai môi trường tab, với thẻ đầu tiên cho các cài đặt chung và một trong những thứ hai cho các biến môi trường cấu hình): | Testing and Debugging Working Directory is pre-filled but not used. This tab asks for interpreter parameters and file input parameters. If you are doing PHP command-line scripting you can add arguments here. Click on the first Environment tab to continue there are two Environment tabs with the first tab for general settings and the second one for configuring environment variables In the Environment tab the Remote Debug tab should appear first by default. Make sure the Remote Debug and Open with DBGSession URL in internal Browser checkboxes are checked. In Remote Sourcepath specify the absolute path to the directory where your debug subject is located. Make sure there is a trailing slash at the end of your entry Otherwise the script location will not be recognized. The debugger will appear to run but it will not register any variables and will not stop at breakpoints. These are the most common debugger problems reported by people on PHPEclipse forums and the vast majority of the time it is because of this missing end slash. Remote debugging is the process of debugging a file on another server. The server must have DBG installed and running. In PHPEclipse debugging we fool Eclipse by treating our local PHP Apache instance as a remote server. As of this writing true remote debugging support in PHPEclipse is in its infant stages but it can be done. First since the source code files are on a different server you will need to mount the share locally. In PHPEclipse configure this mapping with the Mapped Path fields. If there is a discrepancy between the operating system that you are using and the server s operating system for example using Windows and accessing a Linux server select the Cross Platform debugging checkbox. 110 Chapter 5 Proceed with configuration of your local debugging environment by clicking on the Interpreter tab. In Mac OS X as of PHPEclipse a bug exists that prevents the entire label of installed interpreters to appear. Just click on the white .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.