Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SourceMap is not work? #4

Open
wanhongbo opened this issue Jul 27, 2022 · 3 comments
Open

SourceMap is not work? #4

wanhongbo opened this issue Jul 27, 2022 · 3 comments

Comments

@wanhongbo
Copy link

wanhongbo commented Jul 27, 2022

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

@wanhongbo
Copy link
Author

    {
		"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 wanhongbo changed the title Is this support sourcemap to debug builded js ? SourceMap is not work? Aug 5, 2022
@runhwguo
Copy link

@wanhongbo Have it resolved?

@eloparco
Copy link

eloparco commented Nov 7, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants