# VS Code Debugging fails

**URL:** <https://forums.fusetools.com/t/vs-code-debugging-fails/4026>\
**Category:** General\
**Created:** [January 12, 2017, 11:47am UTC](https://forums.fusetools.com/t/vs-code-debugging-fails/4026 "2017-01-12T11:47:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![olaf.schumann](https://avatars.discourse-cdn.com/v4/letter/o/9de053/32.png) [@olaf.schumann](https://forums.fusetools.com/u/olaf.schumann)\
**Post date:** [January 12, 2017, 11:47am UTC](https://forums.fusetools.com/t/vs-code-debugging-fails/4026/1 "2017-01-12T11:47:36Z")

</div>

Hi all,

I am trying to debug the Fuse example app using VS Code (1.8.1) without success. I start the app using the terminal command:  
‘fuse preview . DDEBUG\_V8’ from the root directory of the created app. When the app appears I click the run button within the debug window of VS Code. After a little break the message ‘Cannot connect to runtime process (timeout after 10000 ms).’ appears.

I follow all instructions from the video on youtube ([https://www.youtube.com/watch?v=GloEpBr2lK0&feature=youtu.be](https://www.youtube.com/watch?v=GloEpBr2lK0&feature=youtu.be)) but debugging still not works. I use the standard launch.json configuration with an valid node.js installation.

Does someone knows whats wrong.  
Greetz

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [January 12, 2017, 11:53am UTC](https://forums.fusetools.com/t/vs-code-debugging-fails/4026/2 "2017-01-12T11:53:48Z")

</div>

Hi,

It sounds like you are doing it right, but is that your exact command line? Looks like you are missing a dash `-`, it shoudl read:

```
fuse preview . -DDEBUG_V8
```

---

<div class="post-metadata">

**Author:** ![olaf.schumann](https://avatars.discourse-cdn.com/v4/letter/o/9de053/32.png) [@olaf.schumann](https://forums.fusetools.com/u/olaf.schumann)\
**Post date:** [January 12, 2017, 11:57am UTC](https://forums.fusetools.com/t/vs-code-debugging-fails/4026/3 "2017-01-12T11:57:28Z")

</div>

_doh_ i missed the dash…thanks for removing the tomatoes from my eyes 🙂
