从其他程序或外壳启动.Net Core Application
之后,Hello可以采用任何方法对其进行调试。
基本上我有Console App
可以从python脚本多次运行。
Python
subprocess.call("dotnet [path]MyApp.dll 1 2 3)"
subprocess.call("dotnet [path]MyApp.dll 2 3 4")
我希望能够使用来自外部源的参数调用.NET应用程序后开始对其进行调试。
Net App
namespace MyApp
{
class Prgoram
{
public static void Main(string [] args)
{
Console.Writeline("You inserted the following args:{args[0]}{args[1]}{args[2]}");
------------Breakpoint Here -----------------------------
....other code..........
}
}
}