Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you disable the `vscode://` URI security prompt in VSCode?

I'm developing in PHP and using Xdebug which i configured to turn file paths into vscode://file:/-links.

Until recently VSCode would simply open the file and jump to the specified line, but now it seems they have added an additional prompt in VSCode (as seen below) as a security measure.

The prompt reads: "An external application wants to open 'C:\path\file.php' in Code. Do you want to open this file or folder?'

I've searched the internet and the settings and settings.json for any option. How can i disable this prompt?

VSCode screenshot of the security prompt

like image 641
Function Avatar asked Oct 25 '25 11:10

Function


1 Answers

I don't believe you can disable the confirmation prompt as of this writing. You can follow the feature request for updates.

like image 119
Piotr Avatar answered Oct 28 '25 03:10

Piotr



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!