{ // 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": [ { "name": "Step 1: Apply Patches", "type": "python", "python": "/usr/bin/python3", "request": "launch", "program": "${workspaceFolder}/src/applyPatches.py", "console": "integratedTerminal", }, { "name": "Step 2: Compile OCCT Sources to .o files", "type": "python", "python": "/usr/bin/python3", "request": "launch", "program": "${workspaceFolder}/src/compileSources.py", "args": [ "single-threaded" ], "console": "integratedTerminal", }, { "name": "Step 3: Generate bindings (Embind .cpp files + typescript definitions) from OCCT headers", "type": "python", "python": "/usr/bin/python3", "request": "launch", "program": "${workspaceFolder}/src/generateBindings.py", "console": "integratedTerminal", }, { "name": "Step 4: Compile Embind .cpp files to .o files", "type": "python", "python": "/usr/bin/python3", "request": "launch", "program": "${workspaceFolder}/src/compileBindings.py", "args": [ "single-threaded" ], "console": "integratedTerminal", }, { "name": "Step 5: Create build: opencascade.full.yml", "type": "python", "python": "/usr/bin/python3", "request": "launch", "program": "${workspaceFolder}/src/buildFromYaml.py", "console": "integratedTerminal", "cwd": "${workspaceFolder}/dist", "args": [ "/opencascade.js/builds/opencascade.full.yml" ] }, { "name": "Debug Tests", "type": "node", "request": "launch", "runtimeArgs": [ "--inspect-brk", "${workspaceRoot}/test/node_modules/.bin/jest", "--runInBand" ], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "port": 9229, "cwd": "${workspaceFolder}/test", "env": { "NODE_OPTIONS": "--experimental-vm-modules" } } ] }