Skip to content

Version 1.12.0 seems to have broken Debugging #203

Description

@mwidmann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions