Skip to content

Unable to Copy/Set Variables within the debug Variables window #278

@codehooligans

Description

@codehooligans

I've ask in other VSCode community site and all pointed to support within the debugger. As I'm using this PHP debugger it brought me here. My understanding is in other languages this works as expected. But for some reason in this PHP debugger when I right-click on a variables in the Variables' debug window I get the little popup showing options to Set Values, Copy Value, Copy Expression and Add to Watch but they are all greyed out and not functional.

https://monosnap.com/file/1SQ78tzPQvlviGJ2pXFFxzvu1xjCry

Once I add items to the debug Watch window I can Copy, Set etc. But would really like to have this work under the Variables window .

My details:

Operating system: OS X 10.13.5
VSCode: 1.24.1
PHP Debugger: 1.12.3

launch.json file
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions