vscode-php-debug: Version 1.12.0 seems to have broken Debugging

I’ve been debugging in VSCode this morning, but since launch break the Debugger doesn’t work anymore. Doesn’t matter if I try to debug using the local php installation (7.1.1) or a remote one inside a Docker container, starting the debugger throws a “Debug adapter process has terminated unexpectedly”.

screen shot 2017-11-21 at 15 03 31

There’s no information in any of the output channels or the debug console. The error on the Console does not give any further information either.

screen shot 2017-11-21 at 15 03 17

my launch.json has not yet been updated to the newest Code workspace settings, but as I said, it worked this morning.

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Local auf Port 9001",
      "type": "php",
      "request": "launch",
      "port": 9001,
      "log": false
    },
    {
      "name": "Launch currently open script",
      "type": "php",
      "request": "launch",
      "program": "${file}",
      "cwd": "${fileDirname}",
      "port": 9000
    },
    {
      "name": "Listen for XDebug in Docker Webserver Container (OVB)",
      "type": "php",
      "request": "launch",
      "port": 9000,
      "serverSourceRoot": "/var/www/wordpress-custom/ovb/wp-content",
      "localSourceRoot": "${workspaceFolder}/wp-content",
      "log": false
    },
    {
      "name": "Listen for XDebug in Docker Webserver Container (VN,...)",
      "type": "php",
      "request": "launch",
      "port": 9000,
      "serverSourceRoot": "/var/www/wordpress-custom/webpapers/wp-content",
      "localSourceRoot": "${workspaceRoot}/wordpress-custom/wp-content",
      "log": false
    },
    {
      "name": "Listen for XDebug in Importer Docker Container (OVB)",
      "type": "php",
      "request": "launch",
      "port": 9000,
      "serverSourceRoot": "/opt/app-root/src/wordpress-custom/ovb/wp-content",
      "localSourceRoot": "${workspaceRoot}/wp-content",
      "log": false
    },
    {
      "name": "PHPUnit",
      "type": "php",
      "request": "launch",
      "port": 9001,
      "program": "/usr/local/bin/phpunit",
      "cwd": "${workspaceRoot}",
      "args": ["${file}", "-c", "${fileDirname}/../../phpunit.xml"]
    }
  ]
}

Using Code 1.18.1 on macOS 10.12.6 Sierra

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 9
  • Comments: 23 (2 by maintainers)

Most upvoted comments

@stereoit posted the following workaround

from this page https://github.com/felixfbecker/vscode-php-debug/releases/tag/v1.11.1 download the 1.11.1, uninstall the 1.12 extension from VCSode, disable extension autoupdate "extensions.autoUpdate": false," open extension panel, install from VSIX, locate the 1.11.1.vsicx file, install

I apologise for the inconvenience. I automated the release process yesterday night but forgot the build step in the release stage.

Thanks you very much for quick fix

Le 21 nov. 2017 à 21:17, Felix Becker notifications@github.com a écrit :

Also just added automatic uploads of vsix files as part of the release process. Seems to have helped a lot of folks today keep working despite the technical difficulties 😃

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Also just added automatic uploads of vsix files as part of the release process. Seems to have helped a lot of folks today keep working despite the technical difficulties 😃

Thanks Felix! It’s perfect.

Confirmed.

I have disabled “extensions.autoUpdate”, uninstalled 1.12, installed https://github.com/felixfbecker/vscode-php-debug/releases/download/v1.11.1/php-debug-1.11.1.vsix from the Extension Manager and it works again.

Same error. Happened on three machines running Windows 10 Pro, on one of the VS Code installations there were no other extensions except PHP Debug.

Reverting the version to 1.11.1 works as expected.

same error, hours wasted trying fixed it , finally I tried with 1.11.1 and no problems