SublimeTextXdebug | Xdebug debugger client for Sublime Text | Code Inspection library
kandi X-RAY | SublimeTextXdebug Summary
kandi X-RAY | SublimeTextXdebug Summary
Xdebug debugger client for Sublime Text
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Display debug window
- Load configuration values
- Return the value of the given key
- Check if the element is an element
- Toggle breakpoint on view
- Show a file
- Highlight the view at a given row
- Listen for events
- Set window layout
- Return a list of rows for a region
- Parse XML document
- Run the action
- Evaluate an expression
- Show context output
- Handle opening tag
- Start the widget
- Launch web browser
- Toggle current stack entry
- Callback called when index is cancelled
- Called when a given expression is done
- Start a new tag
- Close debug windows
- Handle an entity reference
- Set a value for a given key
- Return the text of the specified element
- Find the first element matching the given tag
SublimeTextXdebug Key Features
SublimeTextXdebug Examples and Code Snippets
Community Discussions
Trending Discussions on SublimeTextXdebug
QUESTION
I'm trying to configure Xdebug to work with Sublime Text 3 but I can't get anything to show in the Context, Watch or Stack tabs e.g. by setting a breakpoint and clicking Start Debugging (Launch Browser). The browser opens the index.php file with ?XDEBUG_SESSION_START=sublime.xdebug
appended to the url but execution of the code does not stop when the breakpoint is reached.
I've also tried adding xdebug_break()
to index.php to no effect.
From what I've read, specifying path_mapping
in the .sublime-project
file seems the most likely solution. The documentation states that:
path_mapping
For remote debugging to resolve the file locations it is required to configure the path mapping with the server path as key and local path as value.
I'm using IIS on Windows 10 so the app's files are stored in C:\inetpub\wwwroot\
and the homepage's url is http://localhost/index.php
which I'm assuming are the server path and local path respectively and as such the .sublime-project
file looks like this:
ANSWER
Answered 2017-Mar-22 at 10:45The path_mapping
and php.ini settings were both incorrect.
Based on @LazyOne's comment, removed the incorrect path_mapping
in the .sublime-project
file so it now looks like this:
QUESTION
I'm using Nginx and PHP 5.5.29 (with php-fpm), installed xdebug through package control.
This is my xdebug config in php.ini
...ANSWER
Answered 2017-Feb-20 at 22:16I had to change port to 9500 in php.ini and add that in the sublime text project's file:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SublimeTextXdebug
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page