This creates a new launch.json file within a. Click on the create a launch.json file link and select MarkLogic JS Debugger for the environment.If you do not yet have a launch configuration, the following is displayed.Change to the Run icon in the Activity Bar.In Visual Studio Code, add the new folder (File -> Add Folder to Workspace…).Create a folder on your desktop called MarkLogic Tutorial.In the Activity Bar, click the Explorer icon in Visual Studio Code.Visual Studio Code documentation has information about debugging and launch configurations. Along with the new folder, we’ll also create a launch configuration file for Visual Studio Code. We’ll create a folder to use for our tutorial. Close the Settings window by clicking the x.We’ll see an example shortly! See the Visual Studio Code documentation to learn more about User versus Workspace settings. These settings can also be overridden by settings within each JavaScript request. Also, set Documents Db to “Documents” and Modules Db to “Modules”. Set the MarkLogic username and password to your local administrator account.For the purposes of this tutorial, you’ll only need the MarkLogic administrator username and password for your MarkLogic instance running on your computer. In the Settings for the MarkLogic developer tools extension, note the following User and Workspace.Click the “gear” icon, then select the Extension Settings menu item.When the MarkLogic developer tools extension has installed, the Install button will change to a “gear” icon to configure the extension.In the “Search Extensions in Marketplace” edit box, type marklogic then press ENTER.In the Activity Bar on the left side of the window, click on the icon for Extensions:.Start the Visual Studio Code application.Once Visual Studio Code is installed on your computer, we’ll add the MarkLogic developer tools extension and configure it. Now that you’ve got your local environment setup, let’s begin the tutorial. Configure VS Code settings to associate MarkLogic *.sjs files as JavaScript.You’ll need to get it installed and initialized.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |