Building Debugging Extension - prb28/vscode-amiga-assembly GitHub Wiki

Debug the extension with UAE-DAP project sources

git clone https://github.com/grahambates/uae-dap
  • set the dependency to the local project in the package.json file
	"dependencies": {
		"uae-dap": "file:../uae-dap",
    }
  • Add the source mapper plugin for webpack
npm i -D source-map-loader
  • install node dependencies
npm install
  • add the configuration to webpack.config.js
    module: {
        rules: [
            ...
            {
                test: /\.js$/,
                enforce: "pre",
                use: ["source-map-loader"],
            },
        ]
    },