question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Attach to custom embedder running

See original GitHub issue

I’m writing a plugin for a custom embedder and I need the flutter plugin to attach to my running flutter app. I get the observatory URI and all necessary parameters to generate a command line attach (sdkFields.createFlutterSdkAttachCommand: /home/jld3103/flutter/bin/flutter --no-color attach --machine --device-id=flutter-tester --debug-uri=http://127.0.0.1:50300/ lib/main_desktop.dart). That command works when I run it in the console.
In the plugin I use some code derived from this. It gives me a dialog saying that no device was found.

So my question is how to attach the flutter plugin from another plugin to a flutter app running a custom embedder?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
stevemessickcommented, Mar 17, 2021

We would be happy to review a PR if you find a solution that requires changing the Flutter plugin. Another possibility might be to check (or modify) the flutter_tools project in the Flutter repo.

0reactions
provokateurincommented, Mar 17, 2021

This was a feature request for custom embedders and not the official ones. They obviously work, but there is (maybe was didn’t check recently) no way to attach to a custom embedder…

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Embed External Content element - HTML - MDN Web Docs
The <embed> HTML element embeds external content at the specified point in the document. This content is provided by an external application ...
Read more >
How to Add HTML Embed Codes to Your Website [Quick Tip]
Go to the social post or webpage you'd like to embed. Generate the embed code using the post's options. If applicable, customize the...
Read more >
Custom code embed - Webflow University
Add custom blocks of HTML code to your site using the Embed element to unlock all ... If you run into issues with...
Read more >
Embed widget—ArcGIS Experience Builder | Documentation
You want to embed a dashboard in your app and allow users to append a URL ... The following is an example of...
Read more >
Getting started with embedding V8 - V8 JavaScript engine
cp out.gn/x64.release.sample/icudtl.dat . Run the hello_world executable file at the command line. e.g. On Linux, in the V8 directory, run:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found