Skip to content

Commit 7820ef6

Browse files
committed
add process id
1 parent 9584b65 commit 7820ef6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/machine-learning/how-to-inference-server-http.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ There are two ways to use Visual Studio Code (VS Code) and [Python Extension](ht
175175
]
176176
}
177177
```
178-
2. Start the inference server using CLI (`azmlinfsrv --entry_script score.py`).
179-
3. Start debugging session in VS Code.
178+
1. Start the inference server using CLI (`azmlinfsrv --entry_script score.py`).
179+
1. Start debugging session in VS Code.
180180
1. In VS Code, select "Run" -> "Start Debugging" (or `F5`).
181-
2. Enter the process ID of the `azmlinfsrv` (not the `gunicorn`) using the logs (from the inference server) displayed in the CLI.
181+
1. Enter the process ID of the `azmlinfsrv` (not the `gunicorn`) using the logs (from the inference server) displayed in the CLI.
182182
:::image type="content" source="./media/how-to-inference-server-http/debug-attach-pid.png" alt-text="Screenshot of the CLI which shows the process ID of the server":::
183183
> [!NOTE]
184-
> If you're using Linux environment, install `gdb` package
184+
> If the process picker does not display, manually enter the process ID in the `processId` field of the `launch.json`.
185185
186186
In both ways, you can set [breakpoint](https://code.visualstudio.com/docs/editor/debugging#_breakpoints) and debug step by step.
187187

0 commit comments

Comments
 (0)