Open wanhongbo opened 2 years ago
{
"name": "Launch QuickJS",
"type": "quickjs",
"request": "launch",
"program": "${workspaceFolder}/dist/main.js",
"runtimeExecutable": "/Users/wanhongbo/workspace/qjs-debugger/qjs-debug",
"sourceMaps": {
"${workspaceFolder}/dist/main.js.map": "${workspaceFolder}/src",
}
},
@wanhongbo Have it resolved?
@runhwguo @wanhongbo Did you manage to solve? Facing the same problem, it would be useful to know how to generate the source map file to be compatible with this vscode extension.
I fixed some problems using devtoolModuleFilenameTemplate: '[resource-path]'
in my webpack.config.js
config, but I'm still not able to make it work.
I am using the qjs debug extension to debug js file on mac, and set breakpoints in index.ts file ,but can not stoped the program