|
|
|
|
|
by Inviz
958 days ago
|
|
One trick i use all the time is debugging by searching through loaded scripts by UI string: 1) Go to Network panel, start recording network requests 2) Open left sidebar and invoke search to type in the code/ui string you want to find 3) It'll usually find it in some weird bundled js chunk file, click on the result 4) It opens the network request for that file, now right click anywhere in file and pick "Open in Sources" or something along that line, that jumps to debugger 5) Now place your debugger statement, this will probably load sourcemaps too |
|