Answer the question
In order to leave comments, you need to log in
How to fix "Failed to activate the php-debug package" error?
I turned on and off php-debug in the atom, and that's what he gave me, there is info about a similar error in Google, but no one found a solution, and there was another plugin.
[Enter steps to reproduce:]
1. ...
2. ...
**Atom**: 1.41.0 x64
**Electron**: 4.2.7
**OS**: Ubuntu 18.04.3
**Thrown From**: [php-debug](https://github.com/gwomacks/php-debug) package 0.3.5
### Stack Trace
Failed to activate the php-debug package
```
At Cannot read property 'debug' of undefined
TypeError: Cannot read property 'debug' of undefined
at ServiceManager.activate (/packages/atom-debug-ui/lib/services.js:66:36)
at PHPDebug.consumeDebugUI (/packages/php-debug/lib/php-debug.js:232:22)
at Provider.provide (/usr/share/atom/resources/app/static/:14:1125262)
at ServiceHub.consume (/usr/share/atom/resources/app/static/:11:3201694)
at Package.activateServices (/usr/share/atom/resources/app/static/:11:3209926)
at Package.activateNow (/usr/share/atom/resources/app/static/:11:3206681)
at measure (/usr/share/atom/resources/app/static/:11:3206005)
at Package.measure (/usr/share/atom/resources/app/static/:11:3203615)
at activationPromise.activationPromise.Promise (/usr/share/atom/resources/app/static/:11:3205865)
at new Promise ()
at Package.activate (/usr/share/atom/resources/app/static/:11:3205808)
at PackageManager.activatePackage (/usr/share/atom/resources/app/static/:11:382554)
at o.forEach.e (/usr/share/atom/resources/app/static/:11:377720)
at Array.forEach ()
at disabledPackagesSubscription.disabledPackagesSubscription.config.onDidChange (/usr/share/atom/resources/app/static/:11:377704)
at emitter.on (/usr/share/atom/resources/app/static/:11:334755)
at Function.simpleDispatch (/usr/share/atom/resources/app/static/:11:1211909)
at Emitter.emit (/usr/share/atom/resources/app/static/:11:1213350)
at Config.emitChangeEvent (/usr/share/atom/resources/app/static/:11:337243)
at Config.setRawValue (/usr/share/atom/resources/app/static/:11:334483)
at Config.set (/usr/share/atom/resources/app/static/:11:330277)
at Config.removeAtKeyPath (/usr/share/atom/resources/app/static/:11:332300)
at Package.enable (/usr/share/atom/resources/app/static/:11:3203400)
at PackageManager.enablePackage (/usr/share/atom/resources/app/static/:11:375418)
at HTMLButtonElement.enablementButtonClickHandler (/usr/share/atom/resources/app/static/:14:2601313)
```
### Commands
```
2x -1:56 core:undo (input.hidden-input)
```
### Non-Core Packages
```
atom-debug-ui 1.0.4
atom-ide-ui 0.13.0
color-picker 2.3.0
emmet 2.4.3
file-icons 2.1.36
highlight-colors 0.8.0
highlight-selected 0.16.0
ide-php 0.7.18
php-debug 0.3.5
```
Answer the question
In order to leave comments, you need to log in
And what does Xdebug have to do with it? Package activation error for Atom, not a word about Xdebug itself. Look here .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question