-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
Description
Discussed in #1399
Originally posted by crowleysoftware September 30, 2025
On the Discover URLs to watch page it says we can do devproxy --discover
to report URLs our apps are using. But when I use it, nothing happens. There is nothing shown on the console and when I stop devproxy there is no file written. I've tried --watch-process-names
and --watch-pids
and I've also tried omitting any watched process so that it picks up anything on the system.
I am on v1.2.0.
This still works though:
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.2.0/rc.schema.json",
"plugins": [
{
"name": "UrlDiscoveryPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll"
},
{
"name": "PlainTextReporter",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll"
}
],
"urlsToWatch": [
"https://*/*"
],
"record": true
}
Is it because the schema is wrong in the urls-to-watch.json file located here ? ...\AppData\Local\Programs\Dev Proxy\config\urls-to-watch.json
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.25.0/rc.schema.json",
"plugins": [
{
"name": "UrlDiscoveryPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll"
},
{
"name": "PlainTextReporter",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll"
}
],
"urlsToWatch": [
"https://*/*"
],
"record": true
}
```</div>