有一种方法来设置默认的调试命令行参数或默认的应用程序参数,而不在项目设置调试选项卡中设置的参数?
我的意思是,如果我可以做这样的事情:
Module Main
#If DEBUG Then
' Debug Commandline arguments for my application:
My.Application.CommandLineArgs = "-Sleep 5 -Interval 50 -Key CTRL+C"
#End If
...Sub main()
GetArguments() ' A function wich gets the arguemnts that I've set.
...etc...
End module