Files
bodyshop-media-server/test-sourcemap.js
2025-11-04 15:00:44 -08:00

16 lines
379 B
JavaScript

// Simple test to verify source maps are working
import "source-map-support/register";
console.log("Testing source map support...");
function testError() {
// Force an error on a specific line
const obj = null;
console.log(obj.someProperty); // This will throw an error on this line
}
try {
testError();
} catch (error) {
console.log("Error caught:", error.stack);
}