1.0.1 • Published 1 month ago

telescope-nodeapi v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 month ago

Introduction

Repo for all NodeAPI projects. Currently includes:

  • journeys (see src/journeys.cpp for the potential improvements/ TODO items)

Getting Started

Debugging Node-API extensions in Visual Studio Code

NOTE: Large data sets can cause the typescript compiler to crash. If you are experiencing this, delete the data file before trying to run the compiler - only keep the data file when using this debugging code in this folder

  1. Open this repo as a workspace in Visual Studio Code.
  2. Modify the file 'test/test_binding.js' to load custom data (in the case of journeys, it has a dryRun flag, where it can, instead of calling the Node-API extension, return all the data that would be provided as parameters to the extension).
  3. Set breakpoints in the code (src/*.cpp)
  4. Run "LLDB Launch" from the Debug menu. (You need this extension: https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)
1.0.1

1 month ago

1.0.0

1 month ago