Files
react-native-devtools-frontend/test/e2e/resources/sources/sourcemap-minified.js
T
Jaroslav Sevcik f336ccf23d Expression evaluation with sourcemaps (under flag)
This is a first step towards evaluating expressions with source map
resolution in the console.

This patch only replaces single variables expressions with the name
inferred from the source map. The feature is behind a flag because it is
still far from being usable (e.g., no support for more complex
expressions, auto-complete, partial expression evaluation, fallback UI,
etc.).

Bug: chromium:1297047
Change-Id: I5d4a233f65cf27112c370eeb81c509cd3e14623d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3461558
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
2022-02-16 08:01:52 +00:00

2 lines
115 B
JavaScript

function sayHello(e){const n=document.createElement("div");n.innerHTML="hello"+e;document.body.append(n);debugger}