i know there are many questions asked about this before. but the issue is none of them is helping me in anyway? There is no step by step configuration help..
The most colosest good help i think i could find is here in stackoverflow answer.
http://stackoverflow.com/questions/12814263/phpunit-via-composer-and-phpstorm
The answer provided by @Adam Lynch should be explained more clearly, As not everyone is expert in this debugging.
I recently installed xdebug for php today for the first time on windows 8.
Now as i am using phpstorm so went to setup the xdebug settings for phpstorm and couldn't make it to work, so i start searching net and it seemed ppl liked composer more then pear.
So i downloaded and installed composer from here.
https://getcomposer.org/doc/00-intro.md
Seems to me composer installed successfully, but now still there is issue of setting composer with phpstorm.
THERE IS NO VENDOR DIRECTORY
Gosh... i want to tell this to the person who answered in that stackoverflow. xD. i know its crazy. but i am banging banging my head over walls, no matter how much searches i do there is no vendor directory came with composer installation.???
Now how to setup the autoload.php from vendor directory if there is no vendor directory.
There is only composer.phar file.

what to put in below picture?

its been hours, i am stucked and cant find my way out of it :(
EDIT:
Thanks to @LazyOne, i now know that vendor directory will come if i define any dependency.
Now as i moved forward to install Dependency i got this error.

This is how i tried to install it.

vendorfolder will be created when you have at least one local package installed via composer.