apache / apache/netbeans

Debug cursor not showing in Linux Mint Cinnamon

Open
#5,288 2 comments 0 reactions 0 assignees View on GitHub
kind:bug PHP
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 16

### What happened

I am experiencing issues with xdebug (for PHP) in Netbeans. The green line is not moving when I try to step through the code, and I am unable to navigate to specific parts of the code using the call stack. I have tried multiple configurations over the course of 15 hours, and am considering trying a different IDE to determine if the issue is with xdebug. My custom .ini file and docker-compose.yml have been included for reference.

### How to reproduce

My custom .ini is :
zend_extension=xdebug.so
xdebug.mode=develop,debug
xdebug.start_with_request=yes
xdebug.client_host=host.docker.internal
xdebug.discover_client_host = true
xdebug.idekey="netbeans-xdebug"

and my docker-compose.yml has this:
extra_hosts:
- "host.docker.internal:host-gateway"

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

OS: Linux Mint 21.1 x86_64 Kernel: 5.15.0-57-generic

### JDK

PHP

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

Yes

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the supplied custom .ini and docker-compose.yml, then reproduce PHP Xdebug stepping in Apache NetBeans 16 on Linux Mint 21.1. Check whether the green execution line and call-stack navigation update during debugging; done means stepping and navigation work reliably in the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, php
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.