Skip to content

Commit

Permalink
add phetioWrapperDebug, only throw wrapper suite errors from sim if p…
Browse files Browse the repository at this point in the history
…hetioDebug=true, phetsims/phet-io#1859
  • Loading branch information
zepumph committed Jun 7, 2022
1 parent 47f6bd5 commit 6c253c1
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions js/phetmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@
const nonPublishedPhetioWrappersToAddToPhetmarks = [ 'phet-io-wrappers/mirror-inputs' ];

// Query parameters for the PhET-iO wrappers (including iframe tests)
const phetioWrapperQueryParameters = phetioBaseParameters.concat( [
{
value: 'phetioDebug=true',
text: 'Enable assertions for wrappers, basically the phet-io version of ?ea',
default: true
}
] );
const phetioWrapperQueryParameters = phetioBaseParameters.concat( [ {
value: 'phetioDebug=true',
text: 'Enable assertions for the sim inside a wrapper, basically the phet-io version of ?ea',
default: true
}, {
value: 'phetioWrapperDebug=true',
text: 'Enable assertions for wrapper-code, like assertions in Studio, State, or Client',
default: true
} ] );

// For phetio sim frame links
const phetioSimQueryParameters = phetioBaseParameters.concat( [
Expand Down

0 comments on commit 6c253c1

Please sign in to comment.