flutter / flutter/devtools

Unsupported extension developer journey: run debug mode devtools with debug mode extension

Open
#6,615 0 comments 0 reactions 1 assignee Claimed by @kenzieschmoll View on GitHub
devtools extensions P1
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

Right now, the only way to test your extension in debug mode is using the simulated devtools environment. However, if you want to test your extension in DevTools there is not currently an easy way to do this with both devtools and the extension in debug mode.

Here a workaround I recommended to a user for the meantime, although this is untested:

> In the meantime, I think you can run your devtools extension in debug mode, and then change this url to be the url of your locally running debug DevTools extension:
> https://github.com/flutter/devtools/blob/master/packages/devtools_app/lib/src/extensions/embedded/_controller_web.dart/#L42-L43
> and flip debugDevToolsExtensions to true. Then you should be able to run DevTools in debug mode on chrome and see your debug mode DevTools extension in the iFrame.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.