Comments (16)
Good to know. I've updated the release with a .tgz file using the commands above.
from local-addon-xdebug-vscode.
@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.
@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.
@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.
@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.
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.
Thanks Brandon. Now I'm curious as to how the plugin updates.
from local-addon-xdebug-vscode.
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.
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.
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.
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.
I don't think the latest release is completely built, no node_modules
from local-addon-xdebug-vscode.
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.
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.
Interesting, the latest release as a tar.gz file is recognized by the 'Add from disk' but I get the following error.
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.
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)
- How to install this from Local HOT 3
- Update for PHP 8.0 and xDebug 3.0
- Add IDEKey to php.ini
- New for xDebug 3.0
- git clone and yarn install is failing HOT 3
- Causes my PHP FPM service to max out CPU usage and hang. HOT 1
- Duplicate config added in php.ini HOT 2
- Unable to enable on Windows HOT 1
- Install never ends on windows 10 version 1908, Local 6.15 5536 HOT 1
- Update LocalWP compatibility info HOT 2
- install and build fail
- Error when installing Xdebug + VS Code in Local on Linux HOT 5
- Feature Request: Support Saving to VS Code Workspaces HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from local-addon-xdebug-vscode.