fix(phpDebug): make connection init more robust (#243)
fix(phpDebug): make connection init more robust (#243)

Move 'started' event after Xdebug settings have been set to make sure that 'run' is not executed before settings are processed and make sure that invalid settings don't prevent init from completing. Add some line feeds to output messages.

Send error responses instead of just shutting down so that e.g. EADDRINUSE caused by debugger being already active in another window doesn't result in an invalid state.

felixfbecker/vscode-php-debug,felixfbecker/vscode-php-debug,felixfbecker/vscode-php-debug