Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331312

Summary: Setting script arguments
Product: z_Archived Reporter: Paul Mahoney <ptm>
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: CLOSED DUPLICATE QA Contact: Ilina Stefanova <ilina.s>
Severity: major    
Priority: P1 CC: kalin.a, mindshifter
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Paul Mahoney CLA 2010-11-29 05:32:41 EST
I'm trying to run a debug session on a simple PHP script. The script requires a couple of command line arguments. I'm trying to provide these arguments using the 'PHP Script Argument' tab in the PHP Script Debug configuration. But when I start the debug session all I see is argc=1.

How should I provide command line arguments?
Comment 1 Roman CLA 2011-05-04 06:09:37 EDT
Hopefully this might help: I experience this issue even when I just plain run the script from the IDE (i.e. without debugging). Script arguments from the PHP Script Arguments tab are never passed to the script no matter what I put there.
Comment 2 Zhongwei Zhao CLA 2011-05-05 04:10:21 EDT
duplicate of 323931

*** This bug has been marked as a duplicate of bug 323931 ***
Comment 3 Kalin CLA 2011-08-02 09:33:04 EDT
I close it as a duplicate of bug 323931