- VSCode Version:
- Version: 1.42.0 (system setup)
- Commit: ae08d54
- Date: 2020-02-06T10:51:34.058Z
- Electron: 6.1.6
- Chrome: 76.0.3809.146
- Node.js: 12.4.0
- V8: 7.6.303.31-electron.0
- OS: Windows_NT x64 10.0.18363
- OS Version: Windows 10 Pro 1909 Build 18363.592
Steps to Reproduce:
- Install VS Code prior to 1.42
- Install PHP package from welcome screen (which installs felixfbecker/vscode-php-debug)
- Make the default debug configuration for PHP
- Run a debug session (works fine)
- Update VS Code using the setting's Cogwheel to recent
- Run a debug session. It aborts saying:
Error: listen EACCES: permission denied 0.0.0.0:9000
at Server.setupListenHandle [as _listen2] (net.js:1209:19)
at listenInCluster (net.js:1274:12)
at Server.listen (net.js:1362:7)
at c:\Users\Admin\.vscode\extensions\felixfbecker.php-debug-1.13.0\out\phpDebug.js:236:24
at new Promise (<anonymous>)
at createServer (c:\Users\Admin\.vscode\extensions\felixfbecker.php-debug-1.13.0\out\phpDebug.js:184:40)
at PhpDebugSession.<anonymous> (c:\Users\Admin\.vscode\extensions\felixfbecker.php-debug-1.13.0\out\phpDebug.js:240:27)
at Generator.next (<anonymous>)
at c:\Users\Admin\.vscode\extensions\felixfbecker.php-debug-1.13.0\out\phpDebug.js:7:71
at new Promise (<anonymous>) {
code: 'EACCES',
errno: 'EACCES',
syscall: 'listen',
address: '0.0.0.0',
port: 9000
}
Somehow VS Code prevents scripts from binding to ports? Port 9000 is not already bound as you can see here:

However, it allows me to use ports greater than and equal to 10000.
Does this issue occur when all extensions are disabled?: This needs php-debug extension
Steps to Reproduce:
Somehow VS Code prevents scripts from binding to ports? Port 9000 is not already bound as you can see here:

However, it allows me to use ports greater than and equal to 10000.
Does this issue occur when all extensions are disabled?: This needs php-debug extension