Here I use Netbeans, xdebug to debug the PHP in the terminal of Ubuntu.

 

1. you have to install the xdebug extension, pls refer to: [Ubuntu] Easy PHP Debugging in Ubuntu (using Xdebug and Vim)

2. Edit your profile and add this to your envirement.

vim ~/.profile

add these code to it.

export XDEBUG_CONFIG="idekey=netbeans-xdebug"

reload the profile

source ~/.profile

 

Then you can debug the code in Netbeans!

 

 

Have fun with Ubuntu!

 

相关文章:

  • 2021-12-29
  • 2021-06-18
  • 2022-12-23
  • 2021-12-10
  • 2021-05-29
  • 2021-06-26
  • 2021-12-03
  • 2022-12-23
猜你喜欢
  • 2021-06-22
  • 2021-05-20
  • 2021-08-09
  • 2021-10-22
  • 2021-09-15
  • 2021-07-10
  • 2022-12-23
相关资源
相似解决方案