Find the process behind a local Datasette server
Datasette-ports finds running Datasette instances on your machine and lists their ports. Version 0.4 restores compatibility with recent Datasette 1.0 alpha builds and adds the detected process ID to text output. Simon Willison points out a practical use: identifying the process to attach Python 3.15’s profiler to. It is a focused local debugging helper, not a general service-monitoring system.
Datasette · Oct 12, 2026
Why it matters
Knowing the process as well as the port removes a small but common debugging detour.
More context
Try the released plugin when juggling several local Datasette instances. The maintainer’s release note links the new PID output to attaching Python’s profiler.
Keep in mind
The compatibility fix targets current Datasette alphas; check your installed version before upgrading.
Original read