


NET Core app for my Raspberry Pi with following command:ĭotnet publish -r linux-arm64 –self-contained false Start remote debuggingįirst, I need to compile my source code for target architecture (Linux arm64), deploy it to remote system and connect my local development environment to remote debugger. Upper picture clearly shows running app (in debug mode) with breakpoint, local debug variables and application execution output. I start the app with debugger option on (by hitting F5 key or via menu Run->Start Debugging). Simple, agree?įurther, lets check if everything compiles and if debugging works on my local development Windows machine. I will add some code to the application: when console is started, system info is displayed and then inside infinite loop some processing is done, namely: current time is displayed, two random numbers are summed and displayed and finally to slow down everything – sleep the app for 5 secs. NET Core Console project.Īs you can see, it’s really basic. Then, I use my Visual Studio Code and open folder with generated. To demonstrate remote debugging I will create simple.

NET Core on Ubuntu 16.In this blog post I will show how to remotely debug simple. How to add a NuGet package to C# project in VSCode.It is enough if we add -g to g++ arguments: In order to enable adding breakpoints we have to enable creation of debug information when building the source code. "program": "enter program name, for example $/a.out", "description": "Enable pretty-printing for gdb",
