alibaba / serverless-vscode

Aliyun Function Compute extension. Lets you develop your serverless application of Aliyun within VSCode.
GNU General Public License v2.0
290 stars 37 forks source link

netcore2.1 win10无法debug #237

Open jefth opened 4 years ago

jefth commented 4 years ago

Describe the bug · win10企业版vscode里无法Local Run和Local Debug · mac 环境 vscode 正常

To Reproduce Steps to reproduce the behavior: 1.新建netcore2.1的函数

  1. 函数右键 Local Debug 3.终端提示function compute app listening on port 8000! 4.点击访问连接,终端报错

Expected behavior Failed to initialize CoreCLR, HRESULT: 0x80004005 2020/06/01 06:53:41 exit status 137

大部分都提示这个错误,有时候也会有no such container. 通过docker 清理image后,重新调试也无法解决。

Screenshots 1590994788(1)

Desktop (please complete the following information):

Additional context ROSTemplateFormatVersion: '2015-09-01' Transform: 'Aliyun::Serverless-2018-04-03' Resources: mywebfuns: Type: 'Aliyun::Serverless::Service' Properties: Description: This is mywebfuns service myfun01: Type: 'Aliyun::Serverless::Function' Properties: Handler: 'project::example.App::HandleRequest' Runtime: dotnetcore2.1 Timeout: 60 MemorySize: 512 CodeUri: mywebfuns\myfun01 Events: httpTrigger: Type: HTTP Properties: AuthType: ANONYMOUS Methods:

jefth commented 4 years ago

有跟进么?这bug有什么临时办法可以解决么?