Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual code debugger adapter immediately dies when using vscode-hack debugger extension #8895

Closed
ajayvohra2005 opened this issue Sep 11, 2021 · 1 comment
Labels

Comments

@ajayvohra2005
Copy link

Describe the bug
When I try to debug a Hack script in Visual Studio Code using vscode-hack extension, visual code debugger adapter launches and immediately dies. My visual code global settings.json configuration is as below:

"configurations": [
{
"name": "HHVM: Run Script",
"type": "hhvm",
"request": "launch",
"script": "${file}",
"hhvmPath": "/usr/local/bin/hhvm",
"hhvmArgs": ["--mode", "vsdebug", "--vsDebugPort", 8999],
"cwd":"${workspaceFolder}"
}
]

Standalone code, or other way to reproduce the problem
Debug any hack script in visual code studio version shown below with vscode-hack extension version v 2.10.0:

Version: 1.60.0
Commit: e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff
Date: 2021-09-01T10:54:53.442Z (1 wk ago)
OS: Darwin x64 20.6.0

Steps to reproduce the behavior:
Run/Debug any hack script from visual code studio after setting a breakpoint, or without setting a breakpoint. The visual code studio debugger launches and immediately dies.

Expected behavior

Visual Studio Debugger should launch successfully.

Actual behavior

Visual Studio Debugger launches and immediately dies.

Environment

  • Operating system
    Mac Os Big Sur 11.5.2
@fredemmott
Copy link
Contributor

Closing, as this appears to be a configuration question about a third-party project: slackhq/vscode-hack#125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants