From 79604e53ca49527f09cf9b1e01d0632ea3e524e8 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 3 May 2024 10:07:51 -0400 Subject: [PATCH] - applies review suggestions Signed-off-by: Vincent Biret --- vscode/microsoft-kiota/debugging.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vscode/microsoft-kiota/debugging.md b/vscode/microsoft-kiota/debugging.md index 7034068135..8f5fda2247 100644 --- a/vscode/microsoft-kiota/debugging.md +++ b/vscode/microsoft-kiota/debugging.md @@ -4,7 +4,7 @@ Context: you're a developer working on the extension, and you want to debug/step through the extension code. -1. run `dotnet publish ./src/kiota/kiota.csproj -p:PublishSingleFile=true -p:PublishReadyToRun=true --self-contained -c Release -r -o ./vscode/microsoft-kiota/.kiotabin///` where rid is one of `win-x64|linux-x64|osx-x64` and versionInPackage is the version field in `vscode/microsoft-kiota/package.json`. +1. run `dotnet publish ./src/kiota/kiota.csproj -p:PublishSingleFile=true -p:PublishReadyToRun=true --self-contained -c Release -r -o ./vscode/microsoft-kiota/.kiotabin///` where rid is one of `win-x64|linux-x64|osx-x64` and kiotaVersionInPackage is the kiotaVersion field in `vscode/microsoft-kiota/package.json`. 1. in `vscode/microsoft-kiota` run `code . && npm i` 1. in the code instance that was opened at step 2, just press f5 @@ -39,7 +39,9 @@ At this point you have the code extension installed, but it needs the kiota exec Refer to step 1 from the "debugging" section. The major difference will be the output path: -`~/.vscode/extensions/ms-graph.kiota-/.kiotabin///` +`~/.vscode/extensions/ms-graph.kiota-/.kiotabin///` + +Where kiotaVersionInPackage is the kiotaVersion field and versionInPackage is the version field in package.json. > Note: the **.vscode** segment might change to **.vscode-server** if you're remoting to WSL.