All Projects → mabu233 → sdebug

mabu233 / sdebug

Licence: other
Xdebug — Step Debugger and Debugging Aid for PHP

Projects that are alternatives of or similar to sdebug

ts-transform-react-jsx-source
TypeScript AST Transformer that adds source file and line number to JSX elements
Stars: ✭ 12 (-95.44%)
Mutual labels:  debug
flutter debug drawer
Adds a side menu in all screens with debug information. You can decide which information to show and create new modules to include more information.
Stars: ✭ 26 (-90.11%)
Mutual labels:  debug
object-gui
Object GUI - Javascript Object GUI Editor
Stars: ✭ 51 (-80.61%)
Mutual labels:  debug
swoole-ide-helper
💪 IDE helper for Swoft and Swoole
Stars: ✭ 42 (-84.03%)
Mutual labels:  swoole
ext-postgresql
🐘 Coroutine-based client for PostgreSQL
Stars: ✭ 62 (-76.43%)
Mutual labels:  swoole
zhamao-framework
协程、高性能、灵活的聊天机器人 & Web 开发框架(炸毛框架)
Stars: ✭ 99 (-62.36%)
Mutual labels:  swoole
dora
🌟Dora is an open-source framework focused on usability and flexibility.It is widely used to collect crash information and print variable values.It is very powerful and useful to debug android program. It is customizable and extensible in the simpleton-like ways. Dora是一个专注于易用性和灵活性的开源框架,它被广泛用于收集崩溃信息和打印变量值,对调试Android程序非常强大和有用,傻瓜式的自定义和扩展。
Stars: ✭ 15 (-94.3%)
Mutual labels:  debug
golang-debugger-book
From a debugger's view, Let's explore the computer world! How does compiler, linker and debugger coordinate with each other around the program written in specific programming language? How does a debugger work? If we develop a debugger for go programming language, we must master go type system, runtime... and some Operating System internals. OK,…
Stars: ✭ 49 (-81.37%)
Mutual labels:  debug
vertica-swoole-adapter
Provides a DB layer for Swoole-based applications to communicate to HP Vertica databases.
Stars: ✭ 14 (-94.68%)
Mutual labels:  swoole
hyperf-v2-demo
Hyperf Demo(easywechat,chat)
Stars: ✭ 19 (-92.78%)
Mutual labels:  swoole
react-native-debug-server-host
React Native Debug server host for iOS
Stars: ✭ 45 (-82.89%)
Mutual labels:  debug
consono
The most correct, informative, appealing and configurable variable inspector for JavaScript
Stars: ✭ 17 (-93.54%)
Mutual labels:  debug
request-callback
➰ Swoole request callback for PSR compliant handlers.
Stars: ✭ 22 (-91.63%)
Mutual labels:  swoole
homebrew-extensions
🍻 Homebrew tap for PHP extensions
Stars: ✭ 264 (+0.38%)
Mutual labels:  swoole
one-app
one 框架初项目始化
Stars: ✭ 19 (-92.78%)
Mutual labels:  swoole
skeleton
基于Swoole的轻量、高效、全异步开源框架。
Stars: ✭ 71 (-73%)
Mutual labels:  swoole
ultraman
奥特曼
Stars: ✭ 45 (-82.89%)
Mutual labels:  swoole
thrift2-hbase
thrift2-hbase component for Hyperf.
Stars: ✭ 14 (-94.68%)
Mutual labels:  swoole
swoft-ddz
基于swoft框架开发斗地主
Stars: ✭ 70 (-73.38%)
Mutual labels:  swoole
chubbyphp-swoole-request-handler
A request handler adapter for swoole, using PSR-7, PSR-15 and PSR-17.
Stars: ✭ 22 (-91.63%)
Mutual labels:  swoole

20220117 很抱歉,因为个人原因,已不在维护,可以使用 https://github.com/swoole/yasd

进度

注意事项

  • 为了避免 swoole 的检测 xdebug 警告, 扩展注册的名称是 sdebug, 如果想使用 Phpunit CodeCoverage , 需要手动把检测 xdebug 的判断修改成 sdebug
  • 单步调试: 如果php不是7.3的, 建议使用 sdebug_2_6(https://github.com/mabu233/sdebug/tree/sdebug), sdebug_2_7 可能需要与phpstorm2019搭配使用

Clone

You can clone the Sdebug source directory with:

git clone https://github.com/mabu233/sdebug.git

Then move into this new directory:

cd sdebug

Compile

If PHP is installed in a normal, and uncomplicated way, with default locations and configuration, all you will need to do is to run the following script:

./rebuild.sh

This will run phpize, ./configure, make clean, make and make install.

The long winded way of installation is:

  1. Run phpize: phpize (or /path/to/phpize if phpize is not in your path).

  2. ./configure --enable-xdebug (or: ../configure --enable-xdebug --with-php-config=/path/to/php-config if php-config is not in your path)

  3. Run: make clean

  4. Run: make

  5. Run: make install

  6. Add the following line to php.ini (which you can find by running php --ini, or look at phpinfo() output): zend_extension="xdebug.so".

    Please note, that sometimes the php.ini file is different for the command line and for your web server. Make sure you pick the right one.

  7. Unless you exclusively use the command line with PHP, restart your webserver.

  8. Write a PHP page that calls phpinfo();. Load it in a browser and look for the info on the Xdebug module. If you see it, you have been successful! Alternatively, you can run php -v on the command line to see that Xdebug is loaded:

    $ php -v
    PHP 7.2.0RC6 (cli) (built: Nov 23 2017 10:30:56) ( NTS DEBUG )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.2.0-dev, Copyright (c) 1998-2017 Zend Technologies
            with Sdebug v2.x.x-dev, Copyright (c) 2002-2017, by Derick Rethans
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].