Jump to content

Var dumping in admin panel


synik4l

Recommended Posts

Did something get changed by chance? Before upgrading the other day was able to var_dump the return vars of a hook inside the admincp(ie:AfterModuleCreate). And now it seems it just completely ignores my var dumps and echo's was this removed as a security thing? Or something like that? Thanks

Link to comment
Share on other sites

It's most likely doing some type of redirect so your echo's never get displayed.

 

It will interrupt the process but one thing you can do for debugging is add an exit(); at the end of your custom function and it will stop the process at your function so you can see your debug lines.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated