# LocalByFlywheel + XDebug + VSCode

**URL:** <https://community.localwp.com/t/localbyflywheel-xdebug-vscode/11950>\
**Category:** Xdebug + VS Code\
**Created:** [April 11, 2019, 8:40pm UTC](https://community.localwp.com/t/localbyflywheel-xdebug-vscode/11950 "2019-04-11T20:40:41Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![pattyok](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/pattyok/32/4766_2.png) [@pattyok](https://community.localwp.com/u/pattyok)\
**Post date:** [February 18, 2022, 12:56am UTC](https://community.localwp.com/t/localbyflywheel-xdebug-vscode/11950/28 "2022-02-18T00:56:16Z")

</div>

I got this to work if the workspace root is /public, but I usually have many sites open at once so it just makes things easier to open at the site level. So I move the launch.json file into my workspace folder. I am guessing I need to update the pathMappings. There are [one hundred different suggestions in this thread](http://community.localwp.com/t/how-to-get-xdebug-working-with-visual-studio-code/3493/17). I’ve tried them all, to no avail.

Is there a **definitive 2022** answer as to what the path mappings should look like for that scenario?

This is not working:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/1/1160aae3ffe51b9452de528ef8d5a8bc0bf49e4b.png)

---

_[View the full topic](https://community.localwp.com/t/localbyflywheel-xdebug-vscode/11950)._
