Skip to content

Commit

Permalink
Add info about background startup
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHutchison authored Nov 30, 2023
1 parent a55cc5e commit 4d1555f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ The current version of the VS Code Python extension is not, by default, compatib
test runner will hang. However, you can revert to legacy behavior which will allow for using the automatic starting.
See the VS Code section below for more information.

The recommended way to run the daemon is to give it its own run run profile so you can easily use the debugger in tests. As a convenience
you can also, if you're using a dev container, add this to your postStartCommand: `pytest --daemon &`. If it doesn't seem
to work, see: https://github.com/microsoft/vscode-remote-release/issues/8536

Note that a pid file is created to track the pid.

Imports and in many cases initialization logic are not reran on subsequent runs, which can be a huge time saver.
Expand Down

0 comments on commit 4d1555f

Please sign in to comment.