# How to get Cordova debugging tools in vscode to debug ionic serve

**URL:** <https://forum.ionicframework.com/t/how-to-get-cordova-debugging-tools-in-vscode-to-debug-ionic-serve/86671>\
**Category:** ionic-v3\
**Created:** [April 16, 2017, 7:11am UTC](https://forum.ionicframework.com/t/how-to-get-cordova-debugging-tools-in-vscode-to-debug-ionic-serve/86671 "2017-04-16T07:11:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterjc](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@peterjc](https://forum.ionicframework.com/u/peterjc)\
**Post date:** [April 16, 2017, 7:11am UTC](https://forum.ionicframework.com/t/how-to-get-cordova-debugging-tools-in-vscode-to-debug-ionic-serve/86671/1 "2017-04-16T07:11:08Z")

</div>

I have the cordova debugging tools plugin in vscode, running on windows. I Have been able to get it to debug on an actual device (from time to time), but if I try and attach to ionic serve using the following config…

```
{
  "name": "Serve to the browser (ionic serve)",
  "type": "cordova",
  "request": "launch",
  "platform": "serve",
  "cwd": "${workspaceRoot}",
  "devServerAddress": "localhost",
  "sourceMaps": true,
  "ionicLiveReload": true
},

```

I always get

```
 The Ionic live reload server exited unexpectedly
 Error in the Ionic live reload server:
 Error: listen EADDRINUSE 0.0.0.0:53703

```

Although I can use (and have been using) the browser (Chrome) debugger, it would be nice if this could be done from vscode.

Has anyone had any luck being able to debug a local ionic serve session via vscode (on Windows 10)?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![codiqa10004205](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/codiqa10004205/32/110819_2.png) [@codiqa10004205](https://forum.ionicframework.com/u/codiqa10004205)\
**Post date:** [September 27, 2017, 12:03pm UTC](https://forum.ionicframework.com/t/how-to-get-cordova-debugging-tools-in-vscode-to-debug-ionic-serve/86671/2 "2017-09-27T12:03:33Z")

</div>

How did you solve it?
