# Debuging a serverless application in visual Studio Code

**URL:** <https://forum.serverless.com/t/debuging-a-serverless-application-in-visual-studio-code/5212>\
**Category:** Serverless Framework\
**Created:** [July 24, 2018, 8:57am UTC](https://forum.serverless.com/t/debuging-a-serverless-application-in-visual-studio-code/5212 "2018-07-24T08:57:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![\_Chris](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/_chris/32/2290_2.png) [@\_Chris](https://forum.serverless.com/u/_Chris)\
**Post date:** [July 24, 2018, 1:50pm UTC](https://forum.serverless.com/t/debuging-a-serverless-application-in-visual-studio-code/5212/3 "2018-07-24T13:50:59Z")

</div>

No I hadn’t spotted that command so I tried it but it still wouldn’t run. But you pointed me in the right direction, I did some searching on npm install which lead me back to some of the serverless hello world examples

I saw that I had initially installed serverless globally by running

> npm install serverless -g

so I took a punt and tried

> npm install serverless

in the project directory to see what would happen. This appeared to do the trick as I now have the node\_modules sub directory installed below the project, I changed the launch.json program value back to the value in the accepted answer on stack overflow tried again and it debugged straight into it.

So I now have the hello world example up and running which is great, thanks for the suggestion !

---

_[View the full topic](https://forum.serverless.com/t/debuging-a-serverless-application-in-visual-studio-code/5212)._
