Access files on desktop in Big Sur on web app in 2019r32

I’m trying to access a file on my desktop while debugging on a local machine. Pretty sure the OS is preventing this without asking if the app can have permission to access the desktop. Is there any way to get that prompt for a Web 1.0 API app, or to somehow allow access? This is just for debugging and local testing…