title: vscode launch.json react-native & Haxe
body: <p>I started moving from coding directly react-native project with Haxe.
  Therefore the folder-structure has changed, that the react-native project files are in a subfolder of the current project.</p>
  
  <p>When i do want to use the <code>launch.json</code> the output tells me (correctly) that there is no react-native npm package installed at root.
  my <code>launch.json</code> looks like this now (tried to add rn-project-name) as a subfolder </p>
  
  <pre class="lang-json prettyprint-override"><code>{
      "version": "0.2.0",
      "configurations": [
          {
              "name": "Debug iOS",
              "program": "${workspaceRoot}/rn-project-name/.launch/launchReactNative.js",
              "type": "reactnative",
              "request": "launch",
              "platform": "ios",
              "target": "iPhone 5s",
              "sourceMaps": true,
              "outDir": "${workspaceRoot}/rn-project-name/.vscode/.react"
          }
      ]
  }
  </code></pre>
  
  <p>Has anyone ever had to solve something like this?</p>
  
  <p>(I somehow do not understand how the <code>launch.json</code> sets up all neccessary file references)</p>