Windows 11, Cursor in agent mode, sonnet 3.7
Agent in test mode runs python and spins up a FastAPI instance
Cursor was restarted, closed.
The port and fastapi app was left open.
What makes it bad is it had an invalid PID when searching by port, and the parent process was simply a python.exe running from somewhere root-ish not the project path.
Probably not too critical as it seems to be a dev bug, except for time lost pulling hair.
This should be bumped up in priority!
Today I just lost 1-2 hours because Cursor (Agent) has many invisible instances of my site running in the background, while I’m editing and debugging code.
The effect, static assets are updating (html, css, etc), but the server side code is not. This breaks… the whole coding session. Double down when asking an LLM to look at it, which in turns add another shadow process.
This image shows over a dozen instances of the site running in the background.