Skip to content

Can't get a code instance to attach to debug server #23518

@QwertyZW

Description

@QwertyZW
  • VSCode Version: 1.10.2
  • OS Version: Tried on both ubuntu 16.04 and Windows 10 (up to date)

Steps to Reproduce:

I'm simply trying to debug a debug adapter following the instructions under the contributing section of this extension https://github.com/QwertyZW/vscode-php-debug

I get to the point where I start the vscode debugger in server mode waiting for a connection from the client vs code instance

node --debug-brk=12752 --nolazy out\phpDebug.js --server=4711 
Debugger listening on [::]:12752
waiting for debug protocol on port 4711

Spawning off a new vscode instance

code testproject --extensionDevelopmentPath=.

From the embedded terminal, and then trying various approaches to get a connection established have all gone in vain. I tried both ubuntu 16.04 and windows 10 with no luck.

https://code.visualstudio.com/images/example-debuggers_debug-extension-server.png

I can't get to the point where it says > accepted connection from client

Metadata

Metadata

Assignees

Labels

*questionIssue represents a question, should be posted to StackOverflow (VS Code)debugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions