Skip to content

Commit 721e892

Browse files
authored
Apply suggestions from code review
1 parent 4ba8378 commit 721e892

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/logic-apps/create-run-custom-code-functions.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,13 @@ This example continues with the sample code without any changes.
236236

237237
After you finish writing your code, compile to make sure that no build errors exist. Your .NET functions project automatically includes build tasks, which compile and then add your code to the **lib\custom** folder in your logic app project where workflows look for custom functions to run. These tasks put the assemblies in the **lib\custom\net472** or **lib\custom\net8** folder, based on your .NET version.
238238

239-
1. In the Visual Studio Code file explorer, right-click the functions project folder and select "Build functions project...".
239+
1. In Visual Studio Code, on the Activity Bar, select **Explorer**.
240240

241-
:::image type="content" source="media/create-run-custom-code-functions/build-functions-project.png" alt-text="Screenshot shows Visual Studio Code, Logic App workspace file explorer, and the Build functions project context menu option.":::
241+
1. In the **Explorer** window, open the shortcut menu for the functions project folder, and select **Build functions project**.
242242

243-
1. The build task will execute for the functions project. If your build succeeds, the **Terminal** window reports that the **Build succeeded**.
243+
:::image type="content" source="media/create-run-custom-code-functions/build-functions-project.png" alt-text="Screenshot shows Visual Studio Code, Explorer window, and functions project shortcut menu with selected option for Build functions project." lightbox="media/create-run-custom-code-functions/build-functions-project.png":::
244+
245+
The build task executes for the functions project. If your build succeeds, the **Terminal** window shows the message that the **Build succeeded**.
244246

245247
1. Confirm that the following items exist in your logic app project:
246248

@@ -276,7 +278,7 @@ After you confirm that your code compiles and that your logic app project contai
276278

277279
## Debug your code and workflow
278280

279-
1. Start the Azurite storage emulator for each of the Azure Storage services:
281+
1. For each of the following Azure Storage services, start the Azurite storage emulator:
280282

281283
- Azure Blob Service
282284
- Azure Queue Service
@@ -294,15 +296,15 @@ After you confirm that your code compiles and that your logic app project contai
294296

295297
:::image type="content" source="media/create-run-custom-code-functions/storage-services-running.png" alt-text="Screenshot shows Visual Studio Code taskbar with Azure Blob Service, Azure Queue Service, and Azure Table Service running.":::
296298

297-
1. Attach the debugger to your logic app project and .NET functions project by following these steps:
299+
1. Attach the debugger to both your logic app project and .NET functions project by following these steps:
298300

299301
1. On the Visual Studio Code Activity Bar, select **Run and Debug**. (Keyboard: Ctrl+Shift+D)
300302

301303
:::image type="content" source="media/create-run-custom-code-functions/run-debug.png" alt-text="Screenshot shows Visual Studio Code Activity Bar with Run and Debug selected.":::
302304

303305
1. From the **Run and Debug** list, select **Run/debug logic app with local function (LogicApp)**, if not already selected, and then select **Play** (green arrow).
304306

305-
:::image type="content" source="media/create-run-custom-code-functions/attach-debugger-logic-app-with-local-function.png" alt-text="Screenshot shows Run and Debug list with Run/debug logic app with local function selected.":::
307+
:::image type="content" source="media/create-run-custom-code-functions/attach-debugger-logic-app-with-local-function.png" alt-text="Screenshot shows Run and Debug list with selection option for Run/debug logic app with local function.":::
306308

307309
The **Terminal** window opens and shows the started debugging process. The **Debug Console** window then appears and shows the debugging statuses. At the bottom of Visual Studio Code, the task bar turns orange, indicating that the .NET debugger is loaded.
308310

0 commit comments

Comments
 (0)