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

Standalone Debugging Issue after v8.43.0 #11365

Closed
bozghiyy opened this issue Apr 19, 2024 · 1 comment · Fixed by #11375
Closed

Standalone Debugging Issue after v8.43.0 #11365

bozghiyy opened this issue Apr 19, 2024 · 1 comment · Fixed by #11375
Labels

Comments

@bozghiyy
Copy link
Contributor

Type of issue

Bug debugging when using standalone library after prebid 8.43.0

Description

The standalone version of debugging hosted on jsdeliver has changed considerable and the new one doesn't work and freezes the auction.
Check out (even if minimized, the files clearly are different):
https://cdn.jsdelivr.net/npm/prebid.js@8.42.0/dist/debugging-standalone.js
vs
https://cdn.jsdelivr.net/npm/prebid.js@8.43.0/dist/debugging-standalone.js

Probably is due the building process and the changes made in webpack.conf.js here: https://github.com/prebid/Prebid.js/pull/11269/files#diff-49d59f0d7ac5380eec649778a04447e20fd504be848b640e42a70ab2675dc7a1

Probably debugging-standalone needs an exception.

Steps to reproduce

To test that is not working: just used a simple debugging configuration on a prebid build that uses the standalone debugging intercept, like:
pbjs.que.push(function() { pbjs.setConfig({ debugging: { enabled: true, intercept: [ { when: {src: 'client'}, then: { cpm: 20 } } ] } }) });

Test page

Working with prebid version 8.42.0: https://jsfiddle.net/skruthmw/1/
Not working with prebid version 8.43.0: https://jsfiddle.net/skruthmw/0/
The prebid version is only relevant since it changes the jsdeliver URL location from where debugging-standalone.js is loaded.

Expected results

8.43.0 to work as on 8.42.0

Actual results

Not only that the interceptor doesn't work but the auction freezes and nothing happens. Some ads are still displayed due to GAM FAIL SAFE timeout.

Platform details

All

Other information

@patmmccann
Copy link
Collaborator

Thank you for the detailed issue report!

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

Successfully merging a pull request may close this issue.

2 participants