Skip to content

[BUG]: the DevToolsPlugin with Edge as preferredBrowser does not seem to work #470

@Adam-it

Description

@Adam-it

Description

So I configured the Dev Proxy to use DevToolsPlugin with Edge but when I start the devproxy I get the browser and dev tools but seems there is some error present in the devtools console and nothing is logged in the chrome debugger.

image

on the console, the devproxy logs the requests

image

but in the network tab of the devtools I don't get anything
image

Expected behaviour

I should see 'catched' requests in the Edge DevTools in Network tab

Actual behaviour

I don't get anything in the Edge DevTools in Network tab and I see some errors on console tab

Steps to reproduce

  1. install dev proxy
  2. configure DevToolsPlugin following the guide
  3. start devproxy --no-mocks --log-level Info --failure-rate 0

Dev Proxy Version

0.13.0

Operating system (environment)

Windows

Shell

PowerShell

Configuration file

{
"plugins": [
{
"name": "DevToolsPlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "devTools"
},
{
"name": "LatencyPlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "latencyPlugin"
},
{
"name": "RetryAfterPlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll"
},
{
"name": "GraphSelectGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/",
"https://graph.microsoft.com/beta/
",
"https://graph.microsoft.us/v1.0/",
"https://graph.microsoft.us/beta/
",
"https://dod-graph.microsoft.us/v1.0/",
"https://dod-graph.microsoft.us/beta/
",
"https://microsoftgraph.chinacloudapi.cn/v1.0/",
"https://microsoftgraph.chinacloudapi.cn/beta/
"
]
},
{
"name": "ODSPSearchGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/",
"https://graph.microsoft.com/beta/
",
"https://graph.microsoft.us/v1.0/",
"https://graph.microsoft.us/beta/
",
"https://dod-graph.microsoft.us/v1.0/",
"https://dod-graph.microsoft.us/beta/
",
"https://microsoftgraph.chinacloudapi.cn/v1.0/",
"https://microsoftgraph.chinacloudapi.cn/beta/
"
]
},
{
"name": "GraphBetaSupportGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/beta/",
"https://graph.microsoft.us/beta/
",
"https://dod-graph.microsoft.us/beta/",
"https://microsoftgraph.chinacloudapi.cn/beta/
"
]
},
{
"name": "GraphSdkGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/",
"https://graph.microsoft.com/beta/
",
"https://graph.microsoft.us/v1.0/",
"https://graph.microsoft.us/beta/
",
"https://dod-graph.microsoft.us/v1.0/",
"https://dod-graph.microsoft.us/beta/
",
"https://microsoftgraph.chinacloudapi.cn/v1.0/",
"https://microsoftgraph.chinacloudapi.cn/beta/
"
]
},
{
"name": "ODataPagingGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll"
},
{
"name": "GraphClientRequestIdGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/",
"https://graph.microsoft.com/beta/
",
"https://graph.microsoft.us/v1.0/",
"https://graph.microsoft.us/beta/
",
"https://dod-graph.microsoft.us/v1.0/",
"https://dod-graph.microsoft.us/beta/
",
"https://microsoftgraph.chinacloudapi.cn/v1.0/",
"https://microsoftgraph.chinacloudapi.cn/beta/
"
]
},
{
"name": "CachingGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "cachingGuidance"
},
{
"name": "RateLimitingPlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "rateLimiting"
},
{
"name": "MockResponsePlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "mocksPlugin"
},
{
"name": "GraphMockResponsePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "mocksPlugin"
},
{
"name": "GraphRandomErrorPlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "graphRandomErrorsPlugin"
},
{
"name": "ExecutionSummaryPlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "executionSummaryPlugin"
},
{
"name": "MinimalPermissionsPlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "minimalPermissionsPlugin"
},
{
"name": "MinimalPermissionsGuidancePlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll"
},
{
"name": "MockGeneratorPlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll"
},
{
"name": "DevToolsPlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "devTools"
}
],
"devTools": {
"preferredBrowser": "Edge"
},
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/",
"https://graph.microsoft.com/beta/
",
"https://graph.microsoft.us/v1.0/",
"https://graph.microsoft.us/beta/
",
"https://dod-graph.microsoft.us/v1.0/",
"https://dod-graph.microsoft.us/beta/
",
"https://microsoftgraph.chinacloudapi.cn/v1.0/",
"https://microsoftgraph.chinacloudapi.cn/beta/
",
"https://.sharepoint./_api/",
"https://.sharepoint./_vti_bin/",
"https://.sharepoint-df./_api/",
"https://.sharepoint-df./_vti_bin/"
],
"mocksPlugin": {
"mocksFile": "responses.json"
},
"graphRandomErrorsPlugin": {
"allowedErrors": [ 429, 500, 502, 503, 504, 507 ]
},
"executionSummaryPlugin": {
"groupBy": "url"
},
"minimalPermissionsPlugin": {
"type": "delegated"
},
"cachingGuidance": {
"cacheThresholdSeconds": 5
},
"latencyPlugin": {
"minMs": 200,
"maxMs": 10000
},
"rateLimiting": {
"costPerRequest": 2,
"rateLimit": 120,
"retryAfterSeconds": 5
},
"rate": 50,
"labelMode": "text",
"logLevel": "info"
}

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions