Unable to start debugging interactive session
See original GitHub issueIssue Description
I am experiencing a problem with launching a powershell debugging session.
When launching a debug session, the powershell session crashes with this error (found it in the event viewer)
Error Message = The process cannot access the file 'c:\Users\avezina\.vscode\extensions\ms-vscode.powershell-preview-2019.12.0\logs\1578329950-8940193b-522e-41b2-b5f5-c1fce8b387181578329944994\StartEditorServices.log' because it is being used by another process.
Fully Qualified Error ID = System.IO.IOException,Microsoft.PowerShell.EditorServices.Commands.StartEditorServicesCommand

Attached Logs
EditorServices.log StartEditorServices.log vscode-powershell.log EditorServiceOutput.txt
Environment Information
Visual Studio Code
| Name | Version |
|---|---|
| Operating System | Windows_NT x64 10.0.18362 |
| VSCode | 1.41.1 |
| PowerShell Extension Version | 2019.12.0 |
PowerShell Information
| Name | Value |
|---|---|
| PSVersion | 5.1.18362.145 |
| PSEdition | Desktop |
| PSCompatibleVersions | 1.0 2.0 3.0 4.0 5.0 5.1.18362.145 |
| BuildVersion | 10.0.18362.145 |
| CLRVersion | 4.0.30319.42000 |
| WSManStackVersion | 3.0 |
| PSRemotingProtocolVersion | 2.3 |
| SerializationVersion | 1.1.0.1 |
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
| Extension | Author | Version |
|---|---|---|
| azure-account | ms-vscode | 0.8.7 |
| azure-pipelines | ms-azure-devops | 1.157.4 |
| better-align | wwm | 1.1.6 |
| Bookmarks | alefragnani | 10.6.0 |
| bracket-pair-colorizer | CoenraadS | 1.0.61 |
| code-settings-sync | Shan | 3.4.3 |
| cpptools | ms-vscode | 0.26.2 |
| git-extension-pack | donjayamanne | 0.1.3 |
| githistory | donjayamanne | 0.4.13 |
| gitignore | codezombiech | 0.6.0 |
| gitlens | eamodio | 10.2.0 |
| LiveServer | ritwickdey | 5.6.1 |
| markdown-all-in-one | yzhang | 2.6.1 |
| material-icon-theme | PKief | 3.9.2 |
| material-theme | zhuangtongfa | 3.2.1 |
| one-monokai | azemoh | 0.4.6 |
| powershell-preview | ms-vscode | 2019.12.0 |
| project-manager | alefragnani | 10.9.1 |
| team | ms-vsts | 1.161.0 |
| Theme-MaterialKit | ms-vscode | 0.1.4 |
| theme-monokai-pro-vscode | monokai | 1.1.14 |
| theme-onedark | azemoh | 0.5.3 |
| Theme-TomorrowKit | ms-vscode | 0.1.4 |
| timing | HaaLeo | 2.3.0 |
| vscode-azurefunctions | ms-azuretools | 0.20.1 |
| vscode-icons | vscode-icons-team | 9.7.0 |
| vscode-markdownlint | DavidAnson | 0.33.0 |
| vscode-mscgen | mscgenjs | 1.2.0 |
| vscode-open-in-github | ziyasal | 1.3.6 |
| vscode-sanddance | msrvida | 1.2.12 |
| vscode-simple-icons | LaurentTreguier | 1.11.11 |
| vscode-todo-highlight | wayou | 1.0.4 |
| vsliveshare | ms-vsliveshare | 1.0.1404 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Error: Unable to Start Debugging on the Web Server
When you try to debug an ASP.NET application running on a Web server, you may get this error message: Unable to start debugging...
Read more >Debugging in Visual Studio Code
In order to start a debug session, first select the configuration named Launch Program using the Configuration dropdown in the Run and Debug...
Read more >IIS - custom web server - unable to start debugging on the web ...
Try the following options: Hit Shift+F5 when in Visual Studio and this will terminate the current debug session.
Read more >Debug using an interactive session | BrowserStack Docs
Run your test script in your IDE. Navigate to your ongoing Automate session page and click Start an interactive session. After an interactive...
Read more >Debugger in Service Studio is not working - OutSystems Support
Don't close the Chrome window and click the Start Debugging button again. The Chrome window is reused and you can start debugging on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ok let me have a play with this this week. I know where it’s occurring, so hopefully it’s not too hard to work out why and how to fix it.
It won’t be available until the next release, which we’re currently planning to do before the end of the month