# Debugging with External Libraries

Debugging JavaScript application on Windows relies on attaching a debugger to Pitcher Impact and inspecting the application inside WebView.

When using this option, you do not need

# VorlonJS

  1. Replace YOUR_PROJECT and add the script tag to your public/index.html
<script src="https://vorlonjs.pitcher.com/vorlon.js/YOUR_PROJECT"></script>
  1. Replace YOUR_PROJECT and navigate to:
https://vorlonjs.pitcher.com/dashboard/YOUR_PROJECT

# RemoteJS

  1. Go to remotejs.com in your browser and click start debugging
  2. Copy the code in the window, NOTE the ID in the code (e.g. b3fe6fff-88cf-2943-e55f-4d2fd6bd6ac9) remotejs
  3. There are multiple ways to use this code
    • You can copy and paste it to your main.js or inside public/index.html in a <script> tag
    • Second option is to copy the tag itself from the window and add to public/index.html
  4. Deploy your application
  5. When the user opens the application, you should be able to debug through https://remotejs.com/viewer/REMOTE_JS_ID