I would like to run a debugger for PHP. I’ve tried eclipse, but seems much overkill for what I was wanting. I saw listed that KDevelop would support PHP debugger and would like to try it. But have had trouble figuring out how. There is no debug launch for PHP. I came across one site (KDevelop5/Manual/Plugins: PHP Debugging - KDE UserBase Wiki) which said I needed to install these two plugins:
kdev-xdebug
Okay. How?
I go to the links and not sure what to do. I guessed that maybe download and extract the archive. I then installed cmake. But cmake said I needed ECM. Which I found out means, extra-cmake-modules, and I installed them. Now it’s saying:
kdev-xdebug
[/code]
And when I start looking into KF5I18n, and either I need to set another environ variable which prefix.sh doesn’t include or need to install KDE5 develop frameworks.
I just wanted to try KDevelop with debugging a simple Hello World PHP program, not recompiling my operating system. Is there not some simpler way to do this? Or is attempting to debug PHP programs in KDevelop not a worthwhile endeavor?
>cmake .
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- No qmake Qt5 binary found. Can't check QT_INSTALL_PREFIX
Installing in /usr/local. Run /(my path)/kdev-executebrowser-master/prefix.sh to set the environment for executebrowser.
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:15 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find KF5I18n (missing: KF5I18n_DIR)
-- Could NOT find KF5I18n: found neither KF5I18nConfig.cmake nor kf5i18n-config.cmake
-- Could NOT find KF5ItemModels (missing: KF5ItemModels_DIR)
-- Could NOT find KF5ItemModels: found neither KF5ItemModelsConfig.cmake nor kf5itemmodels-config.cmake
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find KF5 (missing: I18n ItemModels) (Required is at least version
"5.15.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
CMakeLists.txt:15 (find_package)
-- Configuring incomplete, errors occurred!
See also "/(my path)/kdev-executebrowser-master/CMakeFiles/CMakeOutput.log".