Debugging command arguments
3 posts
• Page 1 of 1
Debugging command arguments
I have yet to discover how I might add arguments when I start debugging and add arguments to the command line for example "?one=1&two=2"
For the moment I look for the presence of "[XDEBUG_SESSION_START]" and modify the .php file.
Maybe I missed it in the documentation.
Does anyone know how how or if it is supported ?
For the moment I look for the presence of "[XDEBUG_SESSION_START]" and modify the .php file.
Maybe I missed it in the documentation.
Does anyone know how how or if it is supported ?
- Jim.Nickerson
- Posts: 12
- Joined: April 15th, 2014, 3:14 pm
Re: Debugging command arguments
Hi Jim,
If you are using PHP Command line project, just go to project properties and there's a field for that.
Hope that helped.
Thanks!
If you are using PHP Command line project, just go to project properties and there's a field for that.
Hope that helped.
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debugging command arguments
Thank you for your response.
Actually I am starting from within Visual Studio.
At the moment I can go to the Project ( from the Solution Explorer Window, Right click and select propertise ) and from Startup Options select the Current Page ( the option I use most ) or a Specific page in which case I can specify the command args "?m=1&b=w" etc.
I would like to be able to select current page and specify the args.
At the moment I detect xdebug and provide the debug args in code.
I find I use F5 to begin debugging and after each change I must select Restart (unless I quit debugging, took me a while to catch on to this ).
Jim
Actually I am starting from within Visual Studio.
At the moment I can go to the Project ( from the Solution Explorer Window, Right click and select propertise ) and from Startup Options select the Current Page ( the option I use most ) or a Specific page in which case I can specify the command args "?m=1&b=w" etc.
I would like to be able to select current page and specify the args.
At the moment I detect xdebug and provide the debug args in code.
I find I use F5 to begin debugging and after each change I must select Restart (unless I quit debugging, took me a while to catch on to this ).
Jim
- Jim.Nickerson
- Posts: 12
- Joined: April 15th, 2014, 3:14 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 40 guests