the windows arranged Niginx + phpstorm + xdebug Essence

  • Phpstudy official website to download phpstudy: extracting installation Figure:
  • Here Insert Picture Description
    - configuration environment: Figure: Here Insert Picture Description
    - Open Directory Index: Figure: Here Insert Picture Description
    -https: //xdebug.org/download.php download xdebug.dll dynamic link library
    - with "ts" thread-safe means, "nts" he not marked, that is, if it is not marked nts to be downloaded, the downloaded file name is actually marked.
    According to their own download php: FigureHere Insert Picture Description
  • The renamed xdebug on the "D: \ phpstudy \ Extensions \ php \ php7.3.4nts \ ext \ xdebug.dll"
  • Configuration "D: \ phpstudy \ Extensions \ php \ php7.3.4nts \ php.ini" file as shown:
    -Here Insert Picture Description
  • Save the file server restart Niginx
  • If the port is occupied: Enter the netstat -ano see cmd.exe in the occupied port pid turn it off in the serviceHere Insert Picture Description
  • Reopen Niginx server
  • To see if the success of open xdebugHere Insert Picture Description
  • The following configuration phpstorm
  • Open phpstormHere Insert Picture Description
  • Click the plus sign, select php web page: FIG configuredHere Insert Picture Description
  • servers configurationHere Insert Picture Description
  • Click ok
  • Modify the port 9100Here Insert Picture Description
  • Here Insert Picture Description
  • Here Insert Picture Description
  • Observation 1 monitor is turned on, if not, click Open.Here Insert Picture Description
  • Add breakpoints, debug, asHere Insert Picture Description
Published 22 original articles · won praise 3 · Views 6494

Guess you like

Origin blog.csdn.net/qq_45393395/article/details/104589099