When I try to get at this by launching via "Debug adapter" (in server mode), first everything seems fine: status bar turns orange, I launch from cmd with extensionDevelopmentPath specified. When I hit F5 inside the extension development host, the debugger just _crashes_, which means the status bar is blue again, while the debug adapter in the "extension development host" is still running. I have "break on uncaught exceptions" activated, so this should not happen under any circumstances. This is the debugger console output:
Debugger listening on port 16630
waiting for debug protocol on port 4711
>> accepted connection from client
-> initializeRequest
{ type: 'request',
seq: 1,
command: 'initialize',
arguments: { adapterID: 'php', linesStartAt1: true, pathFormat: 'path' } }
<- initializeResponse
Response {
seq: 0,
type: 'response',
request_seq: 1,
command: 'initialize',
success: true }
-> launchRequest
{ type: 'request',
seq: 2,
command: 'launch',
arguments:
{ name: 'Listen for XDebug',
type: 'php',
request: 'launch',
port: 9000,
debugServer: 4711,
outDir: null,
address: 'localhost',
program: null,
stopOnEntry: false,
args: null,
cwd: 'c:\\Users\\felix\\git\\github\\vscode-php-debug\\testproject',
runtimeExecutable: null,
runtimeArgs: null } }
<- launchResponse
Response {
seq: 0,
type: 'response',
request_seq: 2,
command: 'launch',
success: true }
New XDebug Connection #1
And then it just crashes (VS Code status bar blue again).
No error, no stack trace, nothing.
I am completely unable to investigate the issue because I cannot step through my code, and I don't know where I can see what is causing this. Is there any logfile that I can look at?