NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugger do not debug current script


Joined: 05 May 2018
Posts: 29
Reply with quote
Debugger do not debugg active / current php file.
Always have to select in debug the file name, ex: Run in debugger -> test.php
What can I do?
View user's profileFind all posts by gutapetruSend private message
Guru master

Joined: 24 Jul 2009
Posts: 730
Reply with quote
When you start the debugger on a site you visit a URL with a query parameter, such as:

http://mysitename.com/?DBGSESSID=433154662618600001;d=1,p=0,c=1

That DBGSESSID is also saved as a cookie, which means that subsequently visiting any page or script in the site even without the query parameter will send that cookie and cause the debugger to activate and then breakpoints will work.

If your browser is not saving/sending cookies then the debugger will not activate. If you close the browser between debug sessions then the cookie will probably be discarded.


Last edited by plugnplay on Thu Aug 02, 2018 6:22 pm; edited 1 time in total
View user's profileFind all posts by plugnplaySend private message
Guru master

Joined: 24 Jul 2009
Posts: 730
Reply with quote
I always debug with an external browser, so I don't know if the issue you are having might be due to internal browser, although those are still real browsers so shouldn't be a problem.
View user's profileFind all posts by plugnplaySend private message
Debugger do not debug current script
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