<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Build on Debug in VS Code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108107/build-on-debug-in-vs-code</link><description>When I click &amp;quot;Flash&amp;quot; in the nRF Connect extension for VS Code, it will first build the project, then flash the device. 
 When I click &amp;quot;Debug&amp;quot;, it will flash the last built image to the device (but will not build any changes). 
 Is there a way to include</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Apr 2024 12:57:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108107/build-on-debug-in-vs-code" /><item><title>RE: Build on Debug in VS Code</title><link>https://devzone.nordicsemi.com/thread/479445?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 12:57:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6be2f01b-5644-4269-895b-c3d925007618</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Jordan,&lt;/p&gt;
&lt;p&gt;I will continue to help with this ticket.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Custom_5F00_debug_5F00_task.mp4"&gt;devzone.nordicsemi.com/.../Custom_5F00_debug_5F00_task.mp4&lt;/a&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build on Debug in VS Code</title><link>https://devzone.nordicsemi.com/thread/475493?ContentTypeID=1</link><pubDate>Sun, 24 Mar 2024 06:49:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b544062e-b0ce-428f-af04-3be653c19571</guid><dc:creator>Kyle</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/elfving"&gt;Elfving&lt;/a&gt;&amp;nbsp;That page seems to explicitly exclude the &amp;quot;Debug&amp;quot; action though, it only lets you modify the ones in bold at the top.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build on Debug in VS Code</title><link>https://devzone.nordicsemi.com/thread/475376?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2024 12:03:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cec194ca-b7b8-44a4-90da-9fabb7f157e2</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi and sorry about the wait mrd.&lt;/p&gt;
[quote user="mrd"]&lt;p&gt;&lt;span&gt;Any chance you could walk us through the steps, as you seem familiar with them?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Sure, though have you seen &lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/guides/build_bind_tasks.html"&gt;here? I think this page describes everything better than I ever could.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build on Debug in VS Code</title><link>https://devzone.nordicsemi.com/thread/472840?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 01:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c36c10ca-9eba-4906-8a48-a6f930f58392</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Elfving,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any chance you could walk us through the steps, as you seem familiar with them?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It will help us and future ncs users with this problem!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build on Debug in VS Code</title><link>https://devzone.nordicsemi.com/thread/468013?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 09:08:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cec41af-3a01-4291-8351-76e0e2a159ce</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Jordan,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;You can create a custom launch configuration with the cogwheel icon on the debug button. There&amp;#39;s a field in that json object called something like &lt;code&gt;preLaunchTask&lt;/code&gt;, which you can add to execute any task from tasks.json before debugging starts. You&amp;#39;ll need to make a task binding for the build task to combine the two, but that would be the way to do it&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Elfving&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>