NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Failed to start debug session and dbg-wizard.php disappears


Joined: 13 Nov 2020
Posts: 5
Location: Louisville, KY
Reply with quote
A bit bewildered because the debugger system works for some time then
- gives "Failed to start debug session" error
- the dbg-wizard.php is removed from the directory
-the http:// file structure shows up in the OutPut tab though no instructions to show it my php code.

The web server, my project files, the mysql database and server are all on a remote devbox.
I have checked the project proporties and they seem good
I have walked through the Setting Wizard and that seems good.
I put dbg-wizard.php in the root directory of the project.

Symptoms of something anyone has heard of?
Any other checks? something minor maybe?

Thanks for your help, guys.

_________________
jn
View user's profileFind all posts by napierjohnSend private message
Failed to start debug session and dbg-wizard.php disappears


Joined: 13 Nov 2020
Posts: 5
Location: Louisville, KY
Reply with quote
Another thing to add is that the debugging does work for the original files in the project, but not for the new files created. I wonder if the debugger doesn't recognize the new files. They are located in the project directory. I even created the new files using the 'Workspace' window in PhpED IDE by right clicking the project and selecting 'New File' (if that has any bearing).

I have checked my php.ini file and it does contain:
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=ALL
debugger.hosts_deny=ALL
debugger.ports=7869


As is reflected in my php.ini dbg section:

DBG DBG php debugger, version 9.3.4, Copyright 2001, 2020 Dmitri Dmitrienko, http://www.nusphere.com/dbg

Version 9.3.4
Linked as a shared library.
Dbg SSL not available
Dbg ip security enabled.
Profiler enabled
Target PHP version 7.2.x
Server API Apache 2.0 Handler
Extensions API 320170718
Modules API 20170718
PHP API 20170718


Directive
Local Value Master Value
debugger.ccov_enabled: On On
debugger.enable_session_cookie: On On
debugger.enabled: On On
debugger.fail_silently: Off Off
debugger.hosts_allow: protected value protected value
debugger.hosts_deny: protected value protected value
debugger.ignore_nops: Off Off
debugger.IPv6_enabled: On On
debugger.JIT.enabled: Off Off
debugger.JIT.host: clienthost clienthost
debugger.JIT.ignore_exceptions: no value no value
debugger.JIT.port: 7869 7869
debugger.JIT.trig_errors: no value no value
debugger.JIT.trig_exceptions: Exception Exception
debugger.net.chunksize: 131072 131072
debugger.net.maxpacketsize: 52428800 52428800
debugger.ports: protected value protected value
debugger.profiler_enabled: On On
debugger.session_nocache: On On
debugger.timeout_seconds; 300 300

_________________
jn
View user's profileFind all posts by napierjohnSend private message


Joined: 13 Nov 2020
Posts: 5
Location: Louisville, KY
Reply with quote
I have even 'started over' by taking these steps:

- took the contents of the new files that won't debug and saved the contents elsewhere.
- deleted those files
- deleted the project (removed in NuSphere IDE and deleted the project files on my local machine (C:\Users\johnn\Documents\NuSphere PhpED\Projects)
- restarted both the devbox server housing the project itself and my local machine.
- remade the project
- tested with original working files (that debug works on) and they debug did work
- created new file within the project
- pasted the contents back into the new file
- tried to debug the new file = no go
I am back in the same spot.

Any idea what is going on here? Am I doing something wrong?

Thanks guys.

_________________
jn
View user's profileFind all posts by napierjohnSend private message


Joined: 13 Nov 2020
Posts: 5
Location: Louisville, KY
Reply with quote
One other thing: In the .php files that can't be debugged, the left gutter is high-vis green. In files that do debug, any reference (include or require statements) to an undebugable file is high-vis green and the debugger skips over those lines.


Basically I can't (or don't know how) to make the newly added files debuggable.

What am I missing?

Thanks again.

_________________
jn
View user's profileFind all posts by napierjohnSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8328
Reply with quote
Did you check OS permissions on the newly created files? Ownership?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 13 Nov 2020
Posts: 5
Location: Louisville, KY
Reply with quote
Turns out a previous ZEND setting in the php.ini was the issue. The debugger works now that I commented the ZEND out.

Thanks guys, for checking this out.

_________________
jn
View user's profileFind all posts by napierjohnSend private message
Failed to start debug session and dbg-wizard.php disappears
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic