-
Notifications
You must be signed in to change notification settings - Fork 511
error Debug adapter process has terminated unexpectedly #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi Keith, can you open the DebugAdapter.log file in the following location and copy/paste the error at the very end of the file?
Thanks! |
Sure thank you! System.MissingMethodException: Method not found: 'Void Keith G. Broussard On Tue, Dec 8, 2015 at 12:21 PM, David Wilson [email protected]
|
What version of PowerShell are you using? It looks like you aren't using PowerShell v5. Currently only PowerShell v5 is supported though some things may work with earlier versions of PowerShell. If you aren't using v5 then I'm pretty impressed that you've only just hit an issue while trying to debug :) |
you are correct I am on 3.0. [image: Inline image 2] I will attempt to install 5 to see if that resolves. Windows Management Framework 5.0 Production Preview Keith G. Broussard On Tue, Dec 8, 2015 at 12:51 PM, David Wilson [email protected]
|
Yep, that's the one! |
Thanks for the quick response!! Keith G. Broussard On Tue, Dec 8, 2015 at 12:58 PM, David Wilson [email protected]
|
I'm going to track this issue over at the PowerShellEditorServices repo with this issue: PowerShell/PowerShellEditorServices#73 Thanks again for the report! |
I'm getting this error on a Mac. Where should I look for the log? |
Hi @ConnectedReasoning, the debugging feature doesn't work on OSX because PowerShell is not supported on that platform. All language and debugging features (aside from syntax highlighting and snippets) need the PowerShell runtime to operate. |
Still getting this error with PowerShell v6.0.0-alpha.9 installed on OSX El Capitan. The DebugAdapterClient.log is empty 😿 |
Hey @FaffeF, you may need to install OpenSSL on your Mac for the extension to work correctly. Check out our installation instructions here: Check out the 'NOTE' in the OS X installation instructions for VS Code. |
OpenSSL was already installed. Updated the extension to 0.7.1 this morning, and suddenly debugging worked!
Log files look like below, with the error the only difference between successful and failed attempts.
|
So sometimes it works and sometimes it doesn't work in the same session... That's strange, but it gives me some clues. Let's continue this discussion over on issue #243 because others are seeing similar issues there. |
On Windows 7 I cannot seem to get the debugger to work.
The text was updated successfully, but these errors were encountered: