fapchat
@fapchat

Как исправить ошибку «Failed to activate the php-debug package»?

Включил и выключил php-debug в атоме, и вот, что он мне выдал, в гугле есть инфа про похожую ошибку, но никто не нашёл решения, и там был другой плагин.
spoiler

[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
```

  • Вопрос задан
  • 60 просмотров
Пригласить эксперта
Ответы на вопрос 1
HeadOnFire
@HeadOnFire
PHP, Laravel & WordPress Evangelist
А при чем здесь Xdebug? Ошибка активации пакета для Atom, про сам Xdebug ни слова. Посмотрите вот тут.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы