![]() Use the Visual Studio Code debugger to set breakpoints, pause, step over, step into, restart, or stop the application. Finally, the Debug Console receives focus and shows debugger output. Next, the Output pane shows the result as the image package is deployed to the device. If so, focus shifts to the output window, which displays the output from CMake/Build. ![]() You'll see status updates in the Output pane along the way.įirst, CMake determines whether the application needs to be built. Wait several seconds for Visual Studio Code to build the application, create an image package, deploy it to the board, and start it in debug mode. If the project has not previously been built, or if files have changed and rebuilding is required, Visual Studio Code will build the project before debugging starts. Open the project folder or workspace using File > Open Folder or File > Open workspace. To check if the extension is installed correctly on the remote machine, clear the search box in the extension panel, and make sure Azure Sphere extensions appear in the SSH: - INSTALLED view. You may need to restart Visual Studio Code and reconnect to the remote machine after installing. Install the Azure Sphere extensions to the remote machine by searching for Azure Sphere in the Visual Studio Code extension panel and clicking the Install in SSH: button. You may want to move the file to another directory and specify the absolute path in File > Preferences > Settings > Extensions > Remote - SSH: Config File.)Ĭonnect to the remote machine by executing the Visual Studio Code command View > Command Palette > Remote-SSH: Connect to host ( Shift+Ctrl+P). This sometimes causes permissions problems if your local machine is Windows. (By default, a file named config is written to the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |