phpstorm php script debugging, breakpoints

WBOY
Release: 2016-09-05 08:59:55
Original
1730 people have browsed it

phpstorm php script debugging, breakpoints

Simple script breakpoint, no matter click run or click debug at this time
Then wait for a while before the breakpoint is there..., the starting prompt is as follows
Waiting for incoming connection with ide key '14866'
Waiting for incoming connection with ide key '10627'
The ide key is different every time..

Don’t select php web application, select script, I am just debugging a script script, it has nothing to do with the web page!!!

phpstorm php script debugging, breakpoints

/usr/local/bin/php -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9001 -dxdebug.remote_host=127.0.0.1 /Users/name/PhpstormProjects/phptest/test.php

Reply content:

phpstorm php script debugging, breakpoints

Simple script breakpoint, no matter click run or click debug at this time
Then wait for a while before the breakpoint is there..., the starting prompt is as follows
Waiting for incoming connection with ide key '14866'
Waiting for incoming connection with ide key '10627'
The ide key is different every time..

Don’t select php web application, select script, I am just debugging a script script, it has nothing to do with the web page!!!

phpstorm php script debugging, breakpoints

/usr/local/bin/php -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9001 -dxdebug.remote_host=127.0.0.1 /Users/name/PhpstormProjects/phptest/test.php

  • Have you installed Xdebug or something like that

  • Is Jetbrain’s Chrome extension installed?

  • The green button with the phone number is clicked. The second one to the right of the debug key

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template