We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6158
    • 224 Posts
    仕事場と家の両方にパソコンがあるため、
    気になることがあったら即試そうとするのですが、
    家のパソコンには開発環境が整っていません。

    cygwin と emacs(meadow) 程度は入れているのですが、
    コードを追うには、やはり使い勝手が悪い。

    そこで、以下の情報があったので windows/cygwin 環境で試してみました。
    xdebug, vim, python が必要です。

    - Using vim and xdebug DBGp for debugging Drupal (or any PHP application) | 2BITS.com - Drupal Development, Customization and Consulting
    - Persistence is Power:vim+xdebugで作るphpデバッグ環境 - livedoor Blog(ブログ)

    私の環境では以下のエラーメッセージが出て実行できませんでした。

    Error detected while processing /home/custar/.vim/plugin/debugger.vim:
    line 1:
    E319: Sorry, the command is not available in this version: pyfile /home/custar/.vim/plugin/debugger.py
    line 30:
    E319: Sorry, the command is not available in this version: python debugger_init(9000, 1)
    何じゃコリャ?

    python は全く触ったことないので、何故こうなるのか分かりませんが、
    分かる人がいたら教えてください。
    # vi も殆ど分からず...

    "not available in this version" と言われても、どう書き直していいのやら。

    Python 2.4.3 (#1, May 18 2006, 07:40:45)
    [GCC 3.3.3 (cygwin special)] on cygwin
    それにしても軽そう。

    tags: vi xdebug python php