Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
docs: breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
jayair committed Sep 3, 2024
1 parent c83e85b commit 15e7dc4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/src/content/docs/docs/live.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,8 @@ Since Live runs your functions locally, you can set breakpoints and debug your f

For VS Code, you'll need to enable Auto Attach from the Command Palette. Hit `Ctrl+Shift+P` or `Cmd+Shift+P`, type in **Debug: Toggle Auto Attach** and select **Always**.

:::note
You need to start a new terminal after enabling Auto Attach.
:::

Now open a new terminal VS Code, run `sst dev`, set a breakpoint in a function, and invoke the function.

0 comments on commit 15e7dc4

Please sign in to comment.