Autostart - starting some command or macro or shortcut on IDE launch

Is it possible to for example start project in debuggin mode from command line? 

Let's say that I have couple of projects that I need to open and run but would like them to automatically start in debug mode on launch.

- either some cmd parameters?

- or start some macro on launch - maybe some start param as well? 

- any other way?

Thanks 

Michal

0
3 comments

Hello Michal,
 
Could you clarify what you mean by "debugging mode"? It would be helpful if you could share your use case.
If you want to attach the Rider debugger to a running process and open the source solution simultaneously, you can use Rider CLI to achieve this. The command for this scenario is "attach-to-process."
First, you can use the dotnet CLI to run your program, then use the Rider CLI to attach it. This way, you can automate the entire process.
 
Regards,

Tao

0

Hi just simply I wan't IDE to start and press debug. Loading the project takes time and running it takes time, would be nice to have the possibility to have it automated one after another: Start IDE/ Load solution and than run debug.

0

The Rider CLI doesn't provide this option, you can open the project with it but still need to choose debug profile before starting debugging.

You may consider realizing the requirement in other ways.

0

Please sign in to leave a comment.