diff --git a/.vscode/launch.json b/.vscode/launch.json index 36fed78d..8537c546 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -17,6 +17,19 @@ "webpack://@uid2/uid2-sdk/./*": "${webRoot}/*" } }, + { + "name": "Launch CSTG in iframe (Chrome)", + "type": "chrome", + "request": "launch", + "url": "http://localhost:9190/iframe.html", + "webRoot": "${workspaceRoot}/", + "sourceMaps": true, + "preLaunchTask": "Start CSTG", + "postDebugTask": "Terminate CSTG", + "sourceMapPathOverrides": { + "webpack://@uid2/uid2-sdk/./*": "${webRoot}/*" + } + }, { "name": "Launch CSTG Prebid Integration (Chrome)", "type": "chrome", diff --git a/examples/cstg/html/iframe.html b/examples/cstg/html/iframe.html new file mode 100644 index 00000000..70854f8e --- /dev/null +++ b/examples/cstg/html/iframe.html @@ -0,0 +1,10 @@ + + + + + UID2 Publisher Client-Side Integration Example using UID2 JavaScript SDK + + + + + diff --git a/examples/cstg/html/index.html b/examples/cstg/html/index.html index dc0b9a53..a6b4ac7e 100644 --- a/examples/cstg/html/index.html +++ b/examples/cstg/html/index.html @@ -2,7 +2,7 @@ - UID2 Publisher Client-Side Integration Example using UID2 JavsScript SDK + UID2 Publisher Client-Side Integration Example using UID2 JavaScript SDK