Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97355

Need to load a JavaScript dependency in launch.json

$
0
0

I want to run and debug a JavaScript file that requires one JavaScript dependency (jQuery).

This is my launch.json. Assuming that it can be done, how do I modify it to preload jQuery?

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "program": "${workspaceFolder}\\common.LIB.v3.raw.js"
        }
    ]
}

I'm familiar with this question Run JavaScript in Visual Studio Code, but I don't see where the need to load a dependency is addressed.

Note too, the project does not have an HTML file.


Viewing all articles
Browse latest Browse all 97355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>