https://github.com/tecfu/xdebug-netbeans-bridge
An Upstart service that allows Xdebug backtrace links to trigger navigation events in Netbeans.
https://github.com/tecfu/xdebug-netbeans-bridge
Last synced: 12 months ago
JSON representation
An Upstart service that allows Xdebug backtrace links to trigger navigation events in Netbeans.
- Host: GitHub
- URL: https://github.com/tecfu/xdebug-netbeans-bridge
- Owner: tecfu
- License: gpl-3.0
- Created: 2014-06-29T23:24:38.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-25T16:26:27.000Z (almost 12 years ago)
- Last Synced: 2025-02-06T14:32:08.951Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 223 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
xdebug-netbeans-bridge
======================
A linux Upstart service that allows Xdebug backtrace links to trigger navigation events in Netbeans.
This works for PHP stack trace link navigation in Chrome and other browsers which do not support custom protocol handlers. Runs on port 9004 by default.
You don't need this script if you don't mind working
out of Firefox. There you can setup custom protocol handlers in about:config.
Tested with Ubuntu 14.04
## Start \ Stop
- Not necessary to start script after installed. Runs at startup.
```
service xdebug-nb-bridge start
service xdebug-nb-bridge stop
```
## Installing:
- Dependencies
- Linux
- Upstart
- Netbeans
- php > 5.4
- Code
- From source directory run:
```
sudo sh install.sh
```
## Configuring:
### Change php.ini
- Format Xdebug backtrace links in all relevant php.ini files to redirect to this service (which runs on port 9004):
```
xdebug.file_link_format = "http://localhost:9004/nb-protocol-server.php?file=%f&line=%l"
```
## Uninstalling:
```
sudo sh uninstall.sh
```