Git Product home page Git Product logo

Comments (3)

thetarnav avatar thetarnav commented on June 10, 2024

Ok, so there is a different problem that I didn't think of—loading the debugger by injecting a script tag effectively loads a second solid runtime on the page.

image

This may be a problem, or maybe it won't—it depends if the debugger at any point will need to interact with the application's solid runtime. For example:

  • when users want to register their own plugin. Or interact in any way with it.
  • when the debugger would need to use some of solid's primitives to get information out of the application graph.

It would be great to be able to just install the extension and that's it, but I think we're stuck with an npm library approach. It's not that bad though.
In the future, we might go in a different direction, that provided a similar experience—there are couple of core solid members that would be happy to add the debugger to solid-start or even solid itself.

from solid-devtools.

myeon7 avatar myeon7 commented on June 10, 2024

So in regards to the use of components on the target application, would it now allow users to debug by running the and components side by side if users no longer need to warp the application?

For instance, previously we needed to and have debugComponent() invoked inside the application to access updated root data for debugging purposes. With this new update, could we just do to access root data now? (I attached some screenshots below to show what I am referring to)

previous debugger
inside target app
updated debugger

from solid-devtools.

thetarnav avatar thetarnav commented on June 10, 2024

I'm closing this for now, as this isn't the direction I'll be going currently.

from solid-devtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.