Coder Social home page Coder Social logo

Comments (16)

brandondove avatar brandondove commented on September 16, 2024 4

Good to know. I've updated the release with a .tgz file using the commands above.

from local-addon-xdebug-vscode.

brandondove avatar brandondove commented on September 16, 2024 1

@afragen, thanks for the clarification. I went ahead and added max_data and show_hidden to the config file set up and tagged a new release. Let me know if you have any other feedback.

from local-addon-xdebug-vscode.

afragen avatar afragen commented on September 16, 2024 1

@brandondove I was just doing some testing and I think you'll need to add max_childern and max_depth to the extraSettings. It almost behaves as if when extraSettings are listed these end up not being defined.

To see what I mean just look into an object containing arrays and look into one of the arrays.

from local-addon-xdebug-vscode.

brandondove avatar brandondove commented on September 16, 2024

@afragen have you tried using the config supplied by the add-on? Is it not working for you? Are the extra XDebug settings worth adding to the add-on?

from local-addon-xdebug-vscode.

afragen avatar afragen commented on September 16, 2024

@brandondove I’ll have to give the plugin a try. I confess to having had this setup for a couple of years now and I have it setup globally, not per project.

I found the extra settings needed if you have variables with many components.

from local-addon-xdebug-vscode.

afragen avatar afragen commented on September 16, 2024

Hey Brandon,

https://xdebug.org/docs/dbgp#id45
https://xdebug.org/docs/all_settings

I've had a chance to utilize the plugin and it's awesome.

I believe the default values for max_children and max_depth in my example are actually the default values and not necessary. The default value for max_data is 512. This is the amount of data displayed of the variable's value. show_hidden will display private class members, it's probably the only extra setting that should be present as I think it allows for displaying things like private variables, but I'm not certain.

Keep up the great work.

from local-addon-xdebug-vscode.

afragen avatar afragen commented on September 16, 2024

Thanks Brandon. Now I'm curious as to how the plugin updates.

from local-addon-xdebug-vscode.

brandondove avatar brandondove commented on September 16, 2024

I've added those setting and tagged a new release. As for your question about receiving updates for these, I don't think there's a mechanism for that. At least not one that I've seen. You'll probably just have to pull a new version down from this repo.

from local-addon-xdebug-vscode.

afragen avatar afragen commented on September 16, 2024

If there's a way to update the repo as it exists in Flywheel's repository then the user can uninstall from the Active plugins tab and re-install the newer verison. Given the experience of users that might be the best option. 😉

from local-addon-xdebug-vscode.

brandondove avatar brandondove commented on September 16, 2024

Yeh, that would be ideal. The process of getting that add-on listed in the add-ons tab seemed pretty manual though. I'll reach out and see what options are available.

from local-addon-xdebug-vscode.

afragen avatar afragen commented on September 16, 2024

Interesting, I'm having difficulty using the 'Install from disk option' in the Installed Add-ons pane. I sent a priority support. We'll see, but given the tech experience of the forum users I would think simpler is better. 😉

from local-addon-xdebug-vscode.

afragen avatar afragen commented on September 16, 2024

I don't think the latest release is completely built, no node_modules

from local-addon-xdebug-vscode.

brandondove avatar brandondove commented on September 16, 2024

Yeh, I saw the post in the forums that you were involved in where installing from disk is broken. I've had the same experience when I was building this in the first place. I think that feature is still broken in Local.

from local-addon-xdebug-vscode.

brandondove avatar brandondove commented on September 16, 2024

I don't think the latest release is completely built, no node_modules

@afragen You're right. I should probably create an archive with everything so folks can just download that.

from local-addon-xdebug-vscode.

afragen avatar afragen commented on September 16, 2024

Interesting, the latest release as a tar.gz file is recognized by the 'Add from disk' but I get the following error.

screenshot_106

I zipped up the folder and a zip file isn't recognized by the 'Add for disk' dialog.

Decompressing and adding to the addons folder, restart, etc does make 1.0.6 correctly function.

from local-addon-xdebug-vscode.

afragen avatar afragen commented on September 16, 2024

So here's what worked. I got from Ben at Flywheel.

Taking the release asset .tar.gz download run the following command from within the parent folder.

tar xzf local-addon-xdebug-vscode.tar.gz && cd local-addon-xdebug-vscode && npm run build && npm pack

This creates a .tgz file inside of the local-addon-xdebug-vscode folder. Use that .tgz file with Install Add-on.

You should use this .tgz file as your release asset.

from local-addon-xdebug-vscode.

Related Issues (14)

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.