# Debug localhost-running Ghost instance in Visual Studio Code?

**URL:** <https://forum.ghost.org/t/debug-localhost-running-ghost-instance-in-visual-studio-code/3884>\
**Category:** Installation\
**Created:** [November 4, 2018, 8:48pm UTC](https://forum.ghost.org/t/debug-localhost-running-ghost-instance-in-visual-studio-code/3884 "2018-11-04T20:48:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glen\_Mazza](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/glen_mazza/32/1716_2.png) [@Glen\_Mazza](https://forum.ghost.org/u/Glen_Mazza)\
**Post date:** [November 4, 2018, 8:48pm UTC](https://forum.ghost.org/t/debug-localhost-running-ghost-instance-in-visual-studio-code/3884/1 "2018-11-04T20:48:41Z")

</div>

Hi, I’m running Ghost via “grunt dev” on localhost:2368 as described on the [Install from Source](https://docs.ghost.org/install/source/) page, app runs fine in the browser. The next step is that I would like debug the running instance from Microsoft’s Visual Studio Code product, place breakpoints, etc., to see the code in action. VS Code uses a launch.json for debugging but I’m not sure what to place in it for Ghost so I can activate code debugging. (Alternatively, if someone has debugging instructions using Atom I can switch to that editor.)

Thanks,  
Glen

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [November 18, 2018, 8:48pm UTC](https://forum.ghost.org/t/debug-localhost-running-ghost-instance-in-visual-studio-code/3884/2 "2018-11-18T20:48:42Z")

</div>

Closed on November 18, 2018, 8:48pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
