Description
I followed the instruction on the Readme file.
But I have failed to start debugging of a sample javascript file.
Could you explain more detailed instructions?
my test)
I tested using following instructions
$ git clone https://github.com/Samsung/iotjs-vscode-extension.git
$ cd iotjs-vscode-extension ~/.vscode -r
$ cd path/to/the/iotjs
$ ./tools/build.py --buildtype=debug --jerry-debugger
$ ./build/x86_64-linux/debug/bin/iotjs --start-debug-server ./test/run_pass/test_console.js
and I made a launch.json file in iotjs/.vscode/ with the following contents
{
"version": "0.2.0",
"configurations": [
{
"name": "IoT.js: Attach",
"type": "iotjs",
"request": "attach",
"address": "localhost",
"port": 5001,
"localRoot": "${workspaceRoot}/test/run_pass/test_console.js",
"stopOnEntry": false,
"debugLog": 0
},
]
}
I pushed F5 button on vscode ..
and I received a fail message written in Korean..
Here is a brief translation => "The debug adapter process terminated unexpectedly"