Sco*_*rod 11 f# .net-core visual-studio-code
如何使用.Net Core和VSCode在调试模式下执行测试?
我目前在命令行上运行以下命令:
dotnet Test
Run Code Online (Sandbox Code Playgroud)
但是,这不是在调试模式下执行测试.
我附加调试器吗?
如果是这样......怎么样?
<TargetFramework>netcoreapp2.0</TargetFramework>
// C#
class Program
{
static void Main(string[] args)
{
}
}
// F#
module Program =
[<EntryPoint>]
let main(args: string[]) = 0
在main中,调用要调试的测试.
在调试器中运行控制台应用程序(通常按F5).
这应该对运行没有影响dotnet test.
| 归档时间: |
|
| 查看次数: |
722 次 |
| 最近记录: |