![]() ![]() Navigate to View > Run to create a launch configuration (Ctrl+Shift+D):ħ. Open the App.js source in VS Code, and put a breakpoint, for example, at line 6 ( res.send('Hello World!')).Ħ. Start VS Code, freshly installed without any extensions: code. The bzl debug adapter command acts as in. Starting server and listening on localhost/127.0.0.1:4711Ĥ. Bazel is the debug server that sends thread, stack frame, and variable information over a protocol buffer based API. Run the application with DAP enabled: $JAVA_HOME/bin/node -dap App.js galveston hotels on the beach with balcony. Install the express module dependency in the directory where you saved the file: $JAVA_HOME/bin/npm install expressģ. Save this Node.js application in a file named App.js: const express = require('express')Īpp.listen(port, () => console.log(`Example app listening on port $!`))Ģ. Then you need a DAP client to connect to the open DAP port.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |