Giter Club home page Giter Club logo

php-debugger's People

Contributors

ddweb avatar spocke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

php-debugger's Issues

Thanks!

I have no problem. I just wanted to say thanks for this much needed extension!

Allow to jump to cursor

It's better to have Jump to cursor action in the context menu.
The debug line then switch to the selected line at cursor accordingly.

Update sample code php-debugger.idekey

A quicky.. In your sample code on the project description markdown.

You need to update this:
"php-debugger.port": "xdebug"
to this:
"php-debugger.idekey": "xdebug"

Cheers!

Remote debugging

I thought this worked a while back when I first tried it, but when I came back and tried it again recently I couldn't get a connection between Xdebug and php-debugger, so maybe a fooled myself and debugged the local machine by mistake!

I'm developing using using Windows 10. I probably tried it on Windows 8 or a Mac first time round. The remote is a Debian Linux box. The remote is configured to run XDebug remotely.

I've tested using the windows debugclient-0.9.0.exe client, and that could make a connection, so running the same commands (DBGP) and looking at the code installed with the plugin I've come to the following conclusions:

  1. /node/xdebug l75 server.listen(args[0], 'localhost'); is limiting connections to the localhost, meaning only local debugging is permitted. Changing this to server.listen(args[0]); enables php-debugger to connect to the remote unit.
  2. The file-names on breakpoints aren't matching the remote unit. I'm unsure how this is supposed to work but the dev machine is trying to match (break on) C:\home\http\phptest.php whilst the remote unit is /home/http/phptest.php. Clearly using the same operating system on both units would help here! Changing /lib/xdebug line 107 from f: breakPoint.fullPath to f: breakPoint.fullPath.slice(3).replace('','/'), resolves this issue and allows me to debug remote files.

Is remote debugging supposed to work? If so how - and why do I need to make these changes? If not can it be added as a future enhancement?

Add support for multiple threads/processes

The node server can handle multiple debug sessions but the UI can't at the moment. Might be possible to add a separate view for selection thread and switch between sessions.

Conflict with MAMP Pro ?

When I have Xdebug activated in MAMP Pro, I can't open a local website when this extension is running.

If I disable the php-debugger extension in Brackets, I can open a local website.

Any idea?

Tested under Linux?

Hi,

I use Brackets with your Plugin under Ubuntu 14.04. The communication between xdebug and your Plugin seems to work. But ive never get some Information in the Info Window at the bottom.

Only the 5 Buttons are enabled and seems to send Commands to xdebug.

Is the Plugin tested under Linux? Can you reproduce this?

Greetings from Berlin
Sven

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.